9 #ifndef _MpAndroidAudioRecord_h_ 10 #define _MpAndroidAudioRecord_h_ 13 #include <os/OsStatus.h> 89 virtual int set(
int inputSource,
93 int notificationFrames);
124 #endif // _MpAndroidAudioRecord_h_ virtual int start()
Definition: MpAndroidAudioRecord.cpp:40
size_t size
Definition: MpAndroidAudioRecord.h:60
void * raw
Definition: MpAndroidAudioRecord.h:62
Definition: MpAndroidAudioRecord.h:44
Definition: MpAndroidAudioRecord.h:54
Definition: MpAndroidAudioRecord.h:46
int channelCount
Definition: MpAndroidAudioRecord.h:57
virtual ~MpAndroidAudioRecord()
Destructor.
Definition: MpAndroidAudioRecord.cpp:33
Definition: MpAndroidAudioRecord.h:45
Definition: MpAndroidAudioRecord.h:47
event_type
Definition: MpAndroidAudioRecord.h:43
void(* sipXcallback_t)(int event, void *user, void *info)
Definition: MpAndroidAudioBindingInterface.h:32
static const int DEFAULT_SAMPLE_RATE
Definition: MpAndroidAudioRecord.h:39
int format
Definition: MpAndroidAudioRecord.h:58
virtual void stop()
Definition: MpAndroidAudioRecord.cpp:46
uint32_t flags
Definition: MpAndroidAudioRecord.h:56
short * i16
Definition: MpAndroidAudioRecord.h:63
size_t frameCount
Definition: MpAndroidAudioRecord.h:59
MpAndroidAudioRecord()
Disallow direct invocation of constructor, must use factory method.
Definition: MpAndroidAudioRecord.cpp:28
int8_t * i8
Definition: MpAndroidAudioRecord.h:64
Definition: MpAndroidAudioRecord.h:50
MpAndroidAudioRecord & operator=(const MpAndroidAudioRecord &rhs)
Assignment operator (not implemented for this class)
Audio input driver for Android OS.
Definition: MpAndroidAudioRecord.h:34
virtual MpAndroidAudioRecord * createAudioRecord() const
Abstract/stub method to get Android OS version specific implementation of AudioRecord.
Definition: MpAndroidAudioBindingInterface.cpp:141