snd_pcm_plugin_set_audio_share_device()

Set the parameters of the audio share plugin

Synopsis:

#include <sys/asoundlib.h>

int snd_pcm_plugin_set_audio_share_device( snd_pcm_t*             pcm,
                                           audio_share_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 device.

Library:

libasound.so

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

Description:

This function updates the parameters used for the audio share device. An audio share device allows for the sharing of audio for applications that use the screen share feature (sharing their screen with another user), such as BBM Screen Share. The audio share device operates much like splitter device. The audio share plugin is always enabled unless it is explicitly disabled using snd_pcm_plugin_set_disable() 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.