snd_pcm_voice_conversion_t

Data structure that controls voice conversion

Synopsis:

#include <sys/asoundlib.h>
            
typedef struct snd_pcm_voice_conversion
{
    uint32_t    app_voices;
    uint32_t    hw_voices;
    uint32_t    matrix[32];
}       snd_pcm_voice_conversion_t;

Since:

BlackBerry 10.0.0

Library:

libasound.so

Use the -l asound option to qcc and link against this library.

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

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus