Open a PCM channel using the specified audio type, audio card, and device.
#include <audio/audio_manager_routing.h>
int audio_manager_snd_pcm_open(audio_manager_audio_type_t type, snd_pcm_t **handle, unsigned int *audioman_handle, int card, int device, int mode)
BlackBerry 10.0.0
The audio type of the PCM channel being allocated.
The handle of the PCM channel opened
The audio manager handle allocated to the PCM channel.
The audio card to be used to open the PCM channel.
The audio device to be used to open the PCM channel.
The PCM channel mode defined in asoundlib.h.
EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.