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];
/** Identifier for a sound channel */
enum Channel {
- LEFT = 0, ///< left
- RIGHT = 1, ///< right
- CENTRE = 2, ///< centre
- LFE = 3, ///< low-frequency effects (sub)
- LS = 4, ///< left surround
- RS = 5 ///< right surround
+ LEFT = 0, ///< left
+ RIGHT = 1, ///< right
+ CENTRE = 2, ///< centre
+ LFE = 3, ///< low-frequency effects (sub)
+ LS = 4, ///< left surround
+ RS = 5, ///< right surround
+ CHANNEL_7 = 6, ///< channel 7; not sure what this should be called
+ CHANNEL_8 = 7 ///< channel 8; not sure what this should be called
};
enum ContentKind