sipxmedialib  Version 3.3
Private Member Functions | Friends | List of all members
MP_ANDROID_AUDIO_BINDING_INTERFACE Class Reference

Audio interface for Android OS version specific differences. More...

#include <MpAndroidX_XAudioBinding.h>

Inheritance diagram for MP_ANDROID_AUDIO_BINDING_INTERFACE:
Inheritance graph
[legend]
Collaboration diagram for MP_ANDROID_AUDIO_BINDING_INTERFACE:
Collaboration graph
[legend]

Private Member Functions

 MP_ANDROID_AUDIO_BINDING_INTERFACE (const MP_ANDROID_AUDIO_BINDING_INTERFACE &rMpAndroidAudioBindingInterface)
 Copy constructor (not implemented for this class) More...
 
MP_ANDROID_AUDIO_BINDING_INTERFACEoperator= (const MP_ANDROID_AUDIO_BINDING_INTERFACE &rhs)
 Assignment operator (not implemented for this class) More...
 

Friends

MpAndroidAudioBindingInterfaceCREATE_ANDROID_AUDIO_BINDING_SYMBOL ()
 

Creators

 MP_ANDROID_AUDIO_BINDING_INTERFACE ()
 Disable direct invocation of constructor, use factory method. More...
 
virtual ~MP_ANDROID_AUDIO_BINDING_INTERFACE ()
 Destructor. More...
 

Accessors

MpAndroidAudioTrackcreateAudioTrack (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...
 
MpAndroidAudioRecordcreateAudioRecord () const
 Abstract/stub method to get Android OS version specific implementation of AudioRecord. More...
 
int getOutputLatency (uint32_t &outputLatency, StreamType streamType) const
 Abstract/stub method to get Android OS version specific implementation to get output latency. More...
 

Additional Inherited Members

- Public Types inherited from MpAndroidAudioBindingInterface
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) ()
 
- Public Member Functions inherited from MpAndroidAudioBindingInterface
virtual ~MpAndroidAudioBindingInterface ()
 Destructor. More...
 
OsStatus getStatus () const
 Get the status of the construction and loading of the Android OS version specific libs. More...
 
- Static Public Member Functions inherited from MpAndroidAudioBindingInterface
static OsStatus getVersionSpecificLibraryName (UtlString &sharedLibraryName)
 
- Static Public Attributes inherited from MpAndroidAudioBindingInterface
static MpAndroidAudioBindingInterfaceCreator spGetAndroidAudioBinding = stubGetAndroidAudioBindingInterface
 
- Protected Member Functions inherited from MpAndroidAudioBindingInterface
 MpAndroidAudioBindingInterface ()
 Disallow default constructor. More...
 
- Protected Attributes inherited from MpAndroidAudioBindingInterface
OsStatus mStatus
 
- Static Protected Attributes inherited from MpAndroidAudioBindingInterface
static MpAndroidAudioBindingInterfacespMpAndroidAudioBindingInterface = NULL
 

Detailed Description

Audio interface for Android OS version specific differences.

Constructor & Destructor Documentation

Disable direct invocation of constructor, use factory method.

Destructor.

MP_ANDROID_AUDIO_BINDING_INTERFACE ( const MP_ANDROID_AUDIO_BINDING_INTERFACE rMpAndroidAudioBindingInterface)
private

Copy constructor (not implemented for this class)

Member Function Documentation

MpAndroidAudioTrack * createAudioTrack ( int  streamType,
uint32_t  sampleRate,
int  format,
int  channels,
int  frameCount,
uint32_t  flags,
sipXcallback_t  cbf,
void *  user,
int  notificationFrames 
) const
virtual

Abstract/stub method to get Android OS version specific implementation of AudioTrack.

Reimplemented from MpAndroidAudioBindingInterface.

MpAndroidAudioRecord * createAudioRecord ( ) const
virtual

Abstract/stub method to get Android OS version specific implementation of AudioRecord.

Reimplemented from MpAndroidAudioBindingInterface.

int getOutputLatency ( uint32_t &  outputLatency,
StreamType  streamType 
) const
virtual

Abstract/stub method to get Android OS version specific implementation to get output latency.

Reimplemented from MpAndroidAudioBindingInterface.

Assignment operator (not implemented for this class)

Friends And Related Function Documentation

MpAndroidAudioBindingInterface* CREATE_ANDROID_AUDIO_BINDING_SYMBOL ( )
friend