diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-20 10:08:58 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-20 10:08:58 +0000 |
| commit | c2b2ab9718ec0b1b301b10036fc1bc9994c16920 (patch) | |
| tree | 289135ef3b58571f78c74a4fcd0843b475d9562c /src/lib/util.cc | |
| parent | 9d5a3be3a160fd899b5f3c1a7d51140f3eaa6ee9 (diff) | |
Basic support for 7.1/HI/VI audio tracks.
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index a86033e57..25fbc130b 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -790,10 +790,11 @@ video_frames_to_audio_frames (VideoContent::Frame v, float audio_sample_rate, fl string audio_channel_name (int c) { - assert (MAX_AUDIO_CHANNELS == 6); + assert (MAX_AUDIO_CHANNELS == 8); /* TRANSLATORS: these are the names of audio channels; Lfe (sub) is the low-frequency - enhancement channel (sub-woofer). + enhancement channel (sub-woofer). HI is the hearing-impaired audio track and + VI is the visually-impaired audio track (audio describe). */ string const channels[] = { _("Left"), @@ -802,6 +803,8 @@ audio_channel_name (int c) _("Lfe (sub)"), _("Left surround"), _("Right surround"), + _("HI"), + _("VI") }; return channels[c]; |
