XML metadata and some other bits.
[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
15         /* AudioContent */
16         int audio_channels () const;
17         ContentAudioFrame audio_length () const;
18         int audio_frame_rate () const;
19         int64_t audio_channel_layout () const;
20
21         static bool valid_file (boost::filesystem::path);
22 };