Get the current channel mapping, accounting for voice conversion on the capture path
#include <sys/asoundlib.h> snd_pcm_chmap_t * snd_pcm_get_chmap( snd_pcm_t *pcm );
(QNX Software Development Platform 6.6 io-audio patch [patch ID 4510] or later) The snd_pcm_get_chmap() function gets the current channel mapping for a PCM stream, accounting for voice conversion on the capture path.
A pointer to a snd_pcm_chmap_t structure that describes the mapping, or NULL if there isn't a mapping or an error occurred (errno is set). You must free this structure when you're done with it.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Read the Caveats |
This function isn't thread-safe if pcm (snd_pcm_t) is used across multiple threads.