snd_pcm_chmap_t

Updated: October 26, 2022

Information about a channel map

Synopsis:

#include <sys/asound.h>

typedef struct snd_pcm_chmap {
        unsigned int channels;
        unsigned int pos[0];
} snd_pcm_chmap_t;

Description:

The snd_pcm_chmap_t structure describes a channel map. The members include:

channels
The number of channels.
pos
An array of channel positions. Each entry is one of the following:
  • SND_CHMAP_UNKNOWN — unspecified
  • SND_CHMAP_NA — N/A, silent
  • SND_CHMAP_MONO — mono stream
  • SND_CHMAP_FL — front left
  • SND_CHMAP_FR — front right
  • SND_CHMAP_RL — rear left
  • SND_CHMAP_RR — rear right
  • SND_CHMAP_FC — front center
  • SND_CHMAP_LFE — low-frequency effects (LFE)
  • SND_CHMAP_SL — side left
  • SND_CHMAP_SR — side right
  • SND_CHMAP_RC — rear center
  • SND_CHMAP_FLC — front left center
  • SND_CHMAP_FRC — front right center
  • SND_CHMAP_RLC — rear left center
  • SND_CHMAP_RRC — rear right center
  • SND_CHMAP_FLW — front left wide
  • SND_CHMAP_FRW — front right wide
  • SND_CHMAP_FLH — front left high
  • SND_CHMAP_FCH — front center high
  • SND_CHMAP_FRH — front right high
  • SND_CHMAP_TC — top center
  • SND_CHMAP_TFL — top front left
  • SND_CHMAP_TFR — top front right
  • SND_CHMAP_TFC — top front center
  • SND_CHMAP_TRL — top rear left
  • SND_CHMAP_TRR — top rear right
  • SND_CHMAP_TRC — top rear center
  • SND_CHMAP_TFLC — top front left center
  • SND_CHMAP_TFRC — top front right center
  • SND_CHMAP_TSL — top side left
  • SND_CHMAP_TSR — top side right
  • SND_CHMAP_LLFE — left LFE
  • SND_CHMAP_RLFE — right LFE
  • SND_CHMAP_BC — bottom center
  • SND_CHMAP_BLC — bottom left center
  • SND_CHMAP_BRC — bottom right center

Classification:

QNX Neutrino