summaryrefslogtreecommitdiff
path: root/src/lib/single_stream_audio_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-02-18 00:11:44 +0000
committerCarl Hetherington <cth@carlh.net>2016-02-18 00:11:44 +0000
commit017f8aef4be84cc76dcbf2acdf865409f5cae147 (patch)
treee6475e77497b0bb05abda7db652fe6c8f18b4757 /src/lib/single_stream_audio_content.cc
parenta03ea8328cfe16eaad63ac442f38c48091d25c07 (diff)
Add a couple more audio properties.
Diffstat (limited to 'src/lib/single_stream_audio_content.cc')
-rw-r--r--src/lib/single_stream_audio_content.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/single_stream_audio_content.cc b/src/lib/single_stream_audio_content.cc
index 4c59420cb..b3c74d901 100644
--- a/src/lib/single_stream_audio_content.cc
+++ b/src/lib/single_stream_audio_content.cc
@@ -88,6 +88,8 @@ SingleStreamAudioContent::audio_streams () const
void
SingleStreamAudioContent::add_properties (list<pair<string, string> >& p) const
{
- /* XXX: this could be better wrt audio streams */
p.push_back (make_pair (_("Audio channels"), raw_convert<string> (audio_stream()->channels ())));
+ p.push_back (make_pair (_("Content audio frame rate"), raw_convert<string> (audio_stream()->frame_rate ())));
+
+ AudioContent::add_properties (p);
}