snd_pcm_plugin_set_splitter_device()

Set the parameters of the splitter plugin

Synopsis:

#include <sys/asoundlib.h>

int snd_pcm_plugin_set_splitter_device(snd_pcm_t           *pcm, 
                                       splitter_settings_t *settings);

Since:

BlackBerry 10.3.0

Arguments:

pcm
The handle that is returned after a call to snd_pcm_open_* functions.
settings
A pointer to the new settings to be applied to the splitter device.

Library:

libasound.so

Use the -l asound option to qcc and link against this library.

Description:

This function updates the parameters used to split the audio to the shared device. By default, the splitter plugin is disabled. You can enable the plugin by using snd_pcm_plugin_set_enable() before you call snd_pcm_plugin_params()
Note: Call this function only after you call snd_pcm_plugin_params() .
.

Returns:

EOK on success, a negative errno upon failure. The errno values are available in the errno.h file.

Classification:

QNX Neutrino

Safety:  
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Read the Caveats

Caveats:

This function is not thread safe if pcm (snd_pcm_t) is used across multiple threads.