audio_share_settings_t

A structure that stores the settings used for an audio share

Synopsis:

#include <sys/asoundlib.h>

typedef struct {
    snd_pcm_channel_params_t* params;
    int32_t retry_interval;
} audio_share_settings_t;

Since:

BlackBerry 10.3.0

Library:

libasound.so

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

Description:

The audio_share_settings_t structure describes the audio share device settings. 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 members include:
params
The parameters that are used to override the master parameters for the shared audio device. The following parameters are applied from the snd_pcm_channel_params_t structure:
  • start_mode
  • stop_mode
  • buf.block_framgs_max
  • buf.block.frags_buffered_max
  • buf.block.frags_min
retry_interval
When the audio share isn't active, the specified time (in milliseconds) to wait before attempting to reconnect. If you don't want to attempt to reconnect to the audio share when it isn't active, specify a value of -1. For example, use a value of 1000 to specify to wait one second.
Note: A value of zero should not be used because it specifies to continuously attempt to reconnect to the audio share without waiting.

Classification:

QNX Neutrino

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