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

PRINT_MAX

The maximum length of strings returned by Map::print, as per the underlying C function. Please note that this value can change with any release without warning and without being considered API or ABI breakage. You should not use this definition anywhere where it might become part of an ABI.

Type Definitions

PositionMask

A mask of channel positions.