snd_pcm_voice_conversion_t

Data structure that controls voice conversion

Synopsis:

typedef struct snd_pcm_voice_conversion
{
    uint32_t    app_voices;
    uint32_t    hw_voices;
    uint32_t    matrix[32];
}       snd_pcm_voice_conversion_t;

Description:

The snd_pcm_voice_conversion_t structure controls how the voice-converter plugin replicates or reduces the voices and channels.

The members include:

app_voices
The number of application voices.
hw_voices
The number of hardware voices.
matrix
A 32-by-32-bit array that specifies how to convert the voices. The array is ranked with rows representing application voices, voice 0 first; the columns represent hardware voices, with the low voice being LSB-aligned and increasing right to left. A 1 in an entry directs the given source to the given destination.

Classification:

QNX Neutrino

See also:

snd_pcm_plugin_get_voice_conversion(), snd_pcm_plugin_set_voice_conversion()

Controlling voice conversion in the Playing and Capturing Audio Data chapter