summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-31 15:09:49 +0100
committerCarl Hetherington <cth@carlh.net>2013-03-31 15:09:49 +0100
commit127672223cca569986e35c91265e269ed5a6561c (patch)
tree853793c1b929d4c38ebdf5456808e466083989b7 /src/lib/sndfile_content.cc
parented78fd3d138114185e43edf81ffe91db17377da0 (diff)
Runs.
Diffstat (limited to 'src/lib/sndfile_content.cc')
-rw-r--r--src/lib/sndfile_content.cc41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/lib/sndfile_content.cc b/src/lib/sndfile_content.cc
new file mode 100644
index 000000000..8f5b28901
--- /dev/null
+++ b/src/lib/sndfile_content.cc
@@ -0,0 +1,41 @@
+#include "sndfile_content.h"
+#include "compose.hpp"
+
+#include "i18n.h"
+
+using namespace std;
+
+string
+SndfileContent::summary () const
+{
+ return String::compose (_("Sound file: %1"), file().filename ());
+}
+
+int
+SndfileContent::audio_channels () const
+{
+ /* XXX */
+ return 0;
+}
+
+ContentAudioFrame
+SndfileContent::audio_length () const
+{
+ /* XXX */
+ return 0;
+}
+
+int
+SndfileContent::audio_frame_rate () const
+{
+ /* XXX */
+ return 0;
+}
+
+int64_t
+SndfileContent::audio_channel_layout () const
+{
+ /* XXX */
+ return 0;
+}
+