summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_content.cc
blob: 8f5b2890170dc5e1b8dc2879664978d7982ceade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;
}