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_find_element.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_find_element.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_find_element.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_find_element.html on line 8
Search a mixer for an element
#include <audio_driver.h>
ado_mixer_delement_t *ado_mixer_find_element
( ado_mixer_t *mixer,
int32_t type,
int8_t *name,
int32_t index );
- mixer
- The mixer to search.
This is a pointer to the ado_mixer_t structure created by
ado_mixer_create().
- type
- The type of element; one of:
- SND_MIXER_ETYPE_INPUT
- SND_MIXER_ETYPE_ADC
- SND_MIXER_ETYPE_CAPTURE1
- SND_MIXER_ETYPE_CAPTURE2
- SND_MIXER_ETYPE_OUTPUT
- SND_MIXER_ETYPE_DAC
- SND_MIXER_ETYPE_PLAYBACK1
- SND_MIXER_ETYPE_PLAYBACK2
- SND_MIXER_ETYPE_SWITCH1
- SND_MIXER_ETYPE_SWITCH2
- SND_MIXER_ETYPE_SWITCH3
- SND_MIXER_ETYPE_VOLUME1
- SND_MIXER_ETYPE_VOLUME2
- SND_MIXER_ETYPE_ACCU1
- SND_MIXER_ETYPE_ACCU2
- SND_MIXER_ETYPE_ACCU3
- SND_MIXER_ETYPE_MUX1
- SND_MIXER_ETYPE_MUX2
- SND_MIXER_ETYPE_TONE_CONTROL1
- SND_MIXER_ETYPE_3D_EFFECT1
- SND_MIXER_ETYPE_EQUALIZER1
- SND_MIXER_ETYPE_PAN_CONTROL1
- SND_MIXER_ETYPE_PRE_EFFECT1
- name
- The name of the element.
- index
- The index of the element.
The ado_mixer_find_element() function searches
all elements in a mixer for a given element.
A pointer to the element,
or NULL if no exact match was found.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
ado_mixer_find_group()
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_find_element.html on line 164
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_find_element.html on line 164