This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Allocate a new mixer structure, then attach it
#include <audio_driver.h> int32_t ado_mixer_create ( ado_card_t *card, char *id, ado_mixer_t **rmixer, MIXER_CONTEXT_T *context );
The ado_mixer_create() function allocates a new mixer structure and attaches it to the provided card and context.
-1 if an error occurred (errno is set). Any other value indicates success.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | No |
ctrl_init() in the Organization of a Driver chapter, "Writing an analog mixer" in the Handling Analog Audio Data chapter