Module libpulse_binding::channelmap[][src]

Constants and routines for handing channel mapping

Overview

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.

Initialisation

A channel map consists of an array of Position values, one for each channel. This array is stored together with a channel count in a Map structure.

Before filling the structure, the application must initialise it using Map::init. There are also a number of convenience functions for standard channel mappings:

Structs

Map

A channel map which can be used to attach labels to specific channels of a stream. These values are relevant for conversion and mixing of streams.

Enums

MapDef
Position

A list of channel labels

Constants

POSITION_MASK_ALL

Position mask covering all positions

Type Definitions

PositionMask

A mask of channel positions.