Split playlist files up; fix build.
[dcpomatic.git] / src / lib / sndfile_content.cc
index 4794e4d3193e7f267e76b8f98917f3ed7d00dbb3..cf7921a93b88b84f9310ea9f6aa3dd8df0db61d3 100644 (file)
@@ -27,6 +27,12 @@ SndfileContent::summary () const
        return String::compose (_("Sound file: %1"), file().filename ());
 }
 
+string
+SndfileContent::information () const
+{
+       return "";
+}
+
 int
 SndfileContent::audio_channels () const
 {
@@ -64,3 +70,9 @@ SndfileContent::valid_file (boost::filesystem::path f)
        transform (ext.begin(), ext.end(), ext.begin(), ::tolower);
        return (ext == ".wav" || ext == ".aif" || ext == ".aiff");
 }
+
+shared_ptr<Content>
+SndfileContent::clone () const
+{
+       return shared_ptr<Content> (new SndfileContent (*this));
+}