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_element_pcm1.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_element_pcm1.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_element_pcm1.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_element_pcm1.html on line 8
Create a PCM (type 1) element
#include <audio_driver.h>
ado_mixer_delement_t *ado_mixer_element_pcm1
( ado_mixer_t *mixer,
char *name,
int32_t type,
uint32_t number_of_devices,
int32_t *devices );
- mixer
- A pointer to the ado_mixer_t structure that specifies the
mixer to create the element in.
This structure was created by
ado_mixer_create().
- name
- The name of the element.
Elements are referred to by name, so be careful; for some standard names, see
<asound.h>.
- type
- The type of the element; one of:
- SND_MIXER_ETYPE_CAPTURE1
- SND_MIXER_ETYPE_PLAYBACK1
- number_of_devices
- The number of physical devices used to make this element (usually 1).
- devices
- An array of device numbers that identify the physical devices used.
The ado_mixer_element_pcm1() convenience function
automates the creation of a PCM (type 1) element.
A PCM type 1 element specifies the start of a playback channel.
A pointer to the newly allocated PCM (type 1) element.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
ado_mixer_create(),
ado_mixer_element_pcm2()
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_element_pcm1.html on line 133
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_element_pcm1.html on line 133