lavu/channel_layout: document the semantic of layouts.

This commit is contained in:
Nicolas George 2012-11-28 12:05:24 +01:00
parent 5148147b26
commit 2cb227f6a2
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,14 @@
/**
* @defgroup channel_masks Audio channel masks
*
* A channel layout is a 64-bits integer with a bit set for every channel.
* The number of bits set must be equal to the number of channels.
* The value 0 means that the channel layout is not known.
* @note this data structure is not powerful enough to handle channels
* combinations that have the same channel multiple times, such as
* dual-mono.
*
* @{
*/
#define AV_CH_FRONT_LEFT 0x00000001