![]() |
![]() |
![]() |
![]() |
Create an input/output element
#include <audio_driver.h>
ado_mixer_delement_t *ado_mixer_element_io
( ado_mixer_t *mixer,
char *name,
int32_t type,
uint32_t attrib,
uint32_t number_of_voices,
snd_mixer_voice_t *voices );
The ado_mixer_element_io() convenience function automates the creation of an input/output element. An input/output element is usually a physical connector on the sound card.
The snd_mixer_voice_t structure is defined as:
typedef struct
{
uint16_t voice:15, vindex:1;
uint8_t reserved[124];
} snd_mixer_voice_t;
The members include:
A pointer to the newly allocated input/output element.
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
![]() |
![]() |
![]() |
![]() |