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_pcm2.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_pcm2.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_pcm2.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_pcm2.html on line 8

ado_mixer_element_pcm2()

Create a PCM (type 2) element

Synopsis:

#include <audio_driver.h>

ado_mixer_delement_t *ado_mixer_element_pcm2
  ( ado_mixer_t *mixer,
    char *name,
    uint32_t type,
    int32_t device,
    int32_t subdevice );

Arguments:

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:
device
The PCM device that this element is a subdevice of; see ado_mixer_element_pcm1().
subdevice
Not currently used; set it to 0.

Description:

This convenience function automates the creation of a PCM (type 2) element. A PCM type 2 element specifies the start of a playback subchannel. This element is used when a pcm1 supports multiple subchannels.

Returns:

A pointer to the newly allocated PCM (type 2) element.

Classification:

QNX Neutrino

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

See also:

ado_mixer_create(), ado_mixer_element_pcm1()


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_pcm2.html on line 135

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_pcm2.html on line 135