summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_content.h
blob: 10cb428a17c2cbeb509667aa22a53858c70fafd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "audio_content.h"

class SndfileContent : public AudioContent
{
public:
	SndfileContent (boost::filesystem::path);
	
	std::string summary () const;

        /* AudioContent */
        int audio_channels () const;
        ContentAudioFrame audio_length () const;
        int audio_frame_rate () const;
        int64_t audio_channel_layout () const;

	static bool valid_file (boost::filesystem::path);
};