ado_mixer_set_destroy_func()

Attach a function to the mixer to be called when the mixer is destroyed

Synopsis:

#include <audio_driver.h>

void ado_mixer_set_destroy_func
  ( ado_mixer_t *mixer,
    ado_mixer_destroy_t *destroy );

Arguments:

mixer
A pointer to the ado_mixer_t structure for the mixer.
destroy
A pointer to the cleanup function. Its prototype is:
int32_t destroy( MIXER_CONTEXT_T *context );
  

The io-audio manager ignores the value that the cleanup function returns.

Description:

The ado_mixer_set_destroy_func() attaches a function to the mixer that io-audio will call when the mixer is destroyed. You can use this function to do any required cleanup.

Classification:

QNX Neutrino

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

See also:

ado_mixer_set_reset_func()