diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-03-31 15:24:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-03-31 15:24:38 +0100 |
| commit | 5920000d247ab3ef7fb9ba29c6ba238b323cf909 (patch) | |
| tree | b4ca56096992df06dc2daad9e859165542f9443d /src/lib/sndfile_content.h | |
| parent | 127672223cca569986e35c91265e269ed5a6561c (diff) | |
Allow adding of content.
Diffstat (limited to 'src/lib/sndfile_content.h')
| -rw-r--r-- | src/lib/sndfile_content.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/sndfile_content.h b/src/lib/sndfile_content.h index e84617ed3..10cb428a1 100644 --- a/src/lib/sndfile_content.h +++ b/src/lib/sndfile_content.h @@ -3,11 +3,15 @@ class SndfileContent : public AudioContent { public: + SndfileContent (boost::filesystem::path); + std::string summary () const; - /* AudioDecoder */ + /* 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); }; |
