Make subs work again (sort of).
[dcpomatic.git] / src / lib / sndfile_content.h
1 #include "audio_content.h"
2
3 namespace cxml {
4         class Node;
5 }
6
7 class SndfileContent : public AudioContent
8 {
9 public:
10         SndfileContent (boost::filesystem::path);
11         SndfileContent (boost::shared_ptr<const cxml::Node>);
12         
13         std::string summary () const;
14         std::string information () const;
15         boost::shared_ptr<Content> clone () const;
16
17         /* AudioContent */
18         int audio_channels () const;
19         ContentAudioFrame audio_length () const;
20         int audio_frame_rate () const;
21         int64_t audio_channel_layout () const;
22
23         static bool valid_file (boost::filesystem::path);
24 };