Channel maps provide a way to associate channels in a stream with a specific speaker position. This relieves applications of having to make sure their channel order is identical to the final output.
A channel map consists of an array of pa_channel_position values, one for each channel. This array is stored together with a channel count in a pa_channel_map structure.
Before filling the structure, the application must initialise it using pa_channel_map_init(). There are also a number of convenience functions for standard channel mappings:
The library contains a number of convenience functions for dealing with channel maps:
Several copyright owners GNU Lesser General Public License v2.1 |
MeeGo 1.2 Harmattan API
|