ado_pcm_chn_mixer()

Logically associate a mixer element and group with a PCM device

Synopsis:

#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 );

Arguments:

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:
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.

Description:

The ado_pcm_chn_mixer() function logically associates a mixer element and group with the specified PCM device for the given PCM channel type.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:

ado_pcm_create()