summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_asset.cc')
-rw-r--r--src/sound_asset.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 0d0e1cd4..500a72e5 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -115,9 +115,14 @@ SoundAsset::construct (boost::function<string (Channel)> get_path)
CENTRE,
LFE,
LS,
- RS
+ RS,
+ /* XXX: not quite sure what these should be yet */
+ CHANNEL_7,
+ CHANNEL_8
};
+ assert (int(_channels) <= int(sizeof(channels) / sizeof(Channel)));
+
ASDCP::PCM::FrameBuffer frame_buffer_channel[_channels];
ASDCP::PCM::AudioDescriptor audio_desc_channel[_channels];