summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sndfile_content.h')
-rw-r--r--src/lib/sndfile_content.h6
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);
};