ado_mixer_element_accu1()

Create an accumulator (type 1) element

Synopsis:

#include <audio_driver.h>

ado_mixer_delement_t *ado_mixer_element_accu1 (
     ado_mixer_t *mixer,
     char *name,
     int32_t attenuation );

Arguments:

mixer
A pointer to the ado_mixer_t structure that specifies the mixer to create the element in. This structure was created by ado_mixer_create().
name
The name of the element. Elements are referred to by name, so be careful; for some standard names, see <asound.h>.
attenuation
The amount of attenuation the element contributes to the stream passing through it; usually 0 dB.

Description:

The ado_mixer_element_accu1() convenience function automates the creation of an accumulator (type 1) element. An accumulator of type 1 mixes together multiple inputs into a single output.

Returns:

A pointer to the newly allocated accumulator (type 1) element.

Classification:

QNX Neutrino

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

See also:

ado_mixer_create(), ado_mixer_element_accu2(), ado_mixer_element_accu3()