sipxmedialib  Version 3.3
Classes | Public Types | Static Public Attributes | Private Member Functions | Friends | List of all members
MpAndroidAudioRecord Class Reference

Audio input driver for Android OS. More...

#include <MpAndroidAudioRecord.h>

Inheritance diagram for MpAndroidAudioRecord:
Inheritance graph
[legend]

Classes

class  Buffer
 

Public Types

enum  event_type { EVENT_MORE_DATA = 0, EVENT_UNDERRUN = 1, EVENT_MARKER = 2, EVENT_NEW_POS = 3 }
 

Static Public Attributes

static const int DEFAULT_SAMPLE_RATE = 8000
 

Private Member Functions

 MpAndroidAudioRecord (const MpAndroidAudioRecord &rMpAndroidAudioRecord)
 Copy constructor (not implemented for this class) More...
 
MpAndroidAudioRecordoperator= (const MpAndroidAudioRecord &rhs)
 Assignment operator (not implemented for this class) More...
 

Friends

MpAndroidAudioRecordMpAndroidAudioBindingInterface::createAudioRecord () const
 

Creators

 MpAndroidAudioRecord ()
 Disallow direct invocation of constructor, must use factory method. More...
 
virtual ~MpAndroidAudioRecord ()
 Destructor. More...
 

Manipulators

virtual int start ()
 
virtual void stop ()
 
virtual int set (int inputSource, int sampleRate, sipXcallback_t audioCallback, void *user, int notificationFrames)
 

Detailed Description

Audio input driver for Android OS.

See also
MpInputDeviceDriver

Member Enumeration Documentation

enum event_type
Enumerator
EVENT_MORE_DATA 
EVENT_UNDERRUN 
EVENT_MARKER 
EVENT_NEW_POS 

Constructor & Destructor Documentation

MpAndroidAudioRecord ( )
protected

Disallow direct invocation of constructor, must use factory method.

~MpAndroidAudioRecord ( )
virtual

Destructor.

MpAndroidAudioRecord ( const MpAndroidAudioRecord rMpAndroidAudioRecord)
private

Copy constructor (not implemented for this class)

Member Function Documentation

int start ( )
virtual

Reimplemented in MP_ANDROID_AUDIO_RECORD.

void stop ( )
virtual

Reimplemented in MP_ANDROID_AUDIO_RECORD.

int set ( int  inputSource,
int  sampleRate,
sipXcallback_t  audioCallback,
void *  user,
int  notificationFrames 
)
virtual

Reimplemented in MP_ANDROID_AUDIO_RECORD.

MpAndroidAudioRecord& operator= ( const MpAndroidAudioRecord rhs)
private

Assignment operator (not implemented for this class)

Friends And Related Function Documentation

Member Data Documentation

const int DEFAULT_SAMPLE_RATE = 8000
static