Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_mixer_set_destroy_func.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_mixer_set_destroy_func.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_mixer_set_destroy_func.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_mixer_set_destroy_func.html on line 8

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()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_mixer_set_destroy_func.html on line 108

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_mixer_set_destroy_func.html on line 108