sipxmedialib
Version 3.3
|
Audio wrapper interface driver for Android OS version spesific differences. More...
#include <MpAndroidAudioBindingInterface.h>
Public Types | |
enum | StreamType { DEFAULT =-1, VOICE_CALL = 0, SYSTEM = 1, RING = 2, MUSIC = 3, ALARM = 4, NOTIFICATION = 5, BLUETOOTH_SCO = 6, ENFORCED_AUDIBLE = 7, DTMF = 8, TTS = 9, NUM_STREAM_TYPES } |
typedef MpAndroidAudioBindingInterface *(* | MpAndroidAudioBindingInterfaceCreator) () |
Static Public Attributes | |
static MpAndroidAudioBindingInterfaceCreator | spGetAndroidAudioBinding = stubGetAndroidAudioBindingInterface |
Protected Member Functions | |
MpAndroidAudioBindingInterface () | |
Disallow default constructor. More... | |
Protected Attributes | |
OsStatus | mStatus |
Static Protected Attributes | |
static MpAndroidAudioBindingInterface * | spMpAndroidAudioBindingInterface = NULL |
Private Member Functions | |
MpAndroidAudioBindingInterface (const MpAndroidAudioBindingInterface &rMpAndroidAudioBindingInterface) | |
Copy constructor (not implemented for this class) More... | |
MpAndroidAudioBindingInterface & | operator= (const MpAndroidAudioBindingInterface &rhs) |
Assignment operator (not implemented for this class) More... | |
Friends | |
MpAndroidAudioBindingInterface * | stubGetAndroidAudioBindingInterface () |
Creators | |
virtual | ~MpAndroidAudioBindingInterface () |
Destructor. More... | |
Accessors | |
OsStatus | getStatus () const |
Get the status of the construction and loading of the Android OS version specific libs. More... | |
virtual MpAndroidAudioTrack * | createAudioTrack (int streamType, uint32_t sampleRate, int format, int channels, int frameCount, uint32_t flags, sipXcallback_t cbf, void *user, int notificationFrames) const |
Abstract/stub method to get Android OS version specific implementation of AudioTrack. More... | |
virtual MpAndroidAudioRecord * | createAudioRecord () const |
Abstract/stub method to get Android OS version specific implementation of AudioRecord. More... | |
virtual int | getOutputLatency (uint32_t &outputLatency, StreamType streamType) const |
Abstract/stub method to get Android OS version specific implementation to get output latency. More... | |
static OsStatus | getVersionSpecificLibraryName (UtlString &sharedLibraryName) |
Audio wrapper interface driver for Android OS version spesific differences.
typedef MpAndroidAudioBindingInterface*(* MpAndroidAudioBindingInterfaceCreator) () |
enum StreamType |
|
virtual |
Destructor.
|
protected |
Disallow default constructor.
|
private |
Copy constructor (not implemented for this class)
OsStatus getStatus | ( | ) | const |
Get the status of the construction and loading of the Android OS version specific libs.
|
static |
|
virtual |
Abstract/stub method to get Android OS version specific implementation of AudioTrack.
Reimplemented in MP_ANDROID_AUDIO_BINDING_INTERFACE.
|
virtual |
Abstract/stub method to get Android OS version specific implementation of AudioRecord.
Reimplemented in MP_ANDROID_AUDIO_BINDING_INTERFACE.
|
virtual |
Abstract/stub method to get Android OS version specific implementation to get output latency.
Reimplemented in MP_ANDROID_AUDIO_BINDING_INTERFACE.
|
private |
Assignment operator (not implemented for this class)
|
friend |
|
static |
|
staticprotected |
|
protected |