| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Create a PCM (type 2) element
#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 );
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.
A pointer to the newly allocated PCM (type 2) element.
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
ado_mixer_create(), ado_mixer_element_pcm1()
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |