Logically associate a mixer element and group with a PCM device
#include <audio_driver.h>
void ado_pcm_chn_mixer(
ado_pcm_t *pcm,
enum pcm_chn_type type,
ado_mixer_t *mixer,
ado_mixer_delement_t *delement,
ado_mixer_dgroup_t *dgroup );
- pcm
- A pointer to the ado_pcm_t structure created for the
PCM device when you called
ado_pcm_create().
- type
- The type of channel; one of:
- ADO_PCM_CHANNEL_CAPTURE
- ADO_PCM_CHANNEL_PLAYBACK
- mixer
- The mixer that contains both the element and the group.
- delement
- The mixer PCM element to be associated with the PCM channel.
- dgroup
- The mixer group that best controls the PCM channel.
The ado_pcm_chn_mixer() function logically
associates a mixer element and group with the specified
PCM device for the given PCM channel type.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
ado_pcm_create()