Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

ado_mixer_find_element()

Search a mixer for an element

Synopsis:

#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 );

Arguments:

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:
name
The name of the element.
index
The index of the element.

Description:

The ado_mixer_find_element() function searches all elements in a mixer for a given element.

Returns:

A pointer to the element, or NULL if no exact match was found.

Classification:

QNX Neutrino

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

See also:

ado_mixer_find_group()