projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split playlist files up; fix build.
[dcpomatic.git]
/
src
/
lib
/
sndfile_content.cc
diff --git
a/src/lib/sndfile_content.cc
b/src/lib/sndfile_content.cc
index 4794e4d3193e7f267e76b8f98917f3ed7d00dbb3..cf7921a93b88b84f9310ea9f6aa3dd8df0db61d3 100644
(file)
--- a/
src/lib/sndfile_content.cc
+++ b/
src/lib/sndfile_content.cc
@@
-27,6
+27,12
@@
SndfileContent::summary () const
return String::compose (_("Sound file: %1"), file().filename ());
}
return String::compose (_("Sound file: %1"), file().filename ());
}
+string
+SndfileContent::information () const
+{
+ return "";
+}
+
int
SndfileContent::audio_channels () const
{
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");
}
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));
+}