10 #ifndef _MpAndroidAudioTrack_h_ 11 #define _MpAndroidAudioTrack_h_ 14 #include <os/OsStatus.h> 50 int notificationFrames)
const;
109 virtual uint32_t
latency()
const;
111 virtual void setVolume(
float left,
float right);
140 #endif // _MpAndroidAudioTrack_h_ MpAndroidAudioTrack & operator=(const MpAndroidAudioTrack &rhs)
Assignment operator (not implemented for this class)
event_type
Definition: MpAndroidAudioTrack.h:52
Audio input driver for Android OS.
Definition: MpAndroidAudioTrack.h:37
virtual void setVolume(float left, float right)
Definition: MpAndroidAudioTrack.cpp:89
Definition: MpAndroidAudioTrack.h:58
int channelCount
Definition: MpAndroidAudioTrack.h:68
Definition: MpAndroidAudioTrack.h:57
Definition: MpAndroidAudioTrack.h:54
MpAndroidAudioTrack()
Disallow default constructor.
Definition: MpAndroidAudioTrack.cpp:33
virtual void start()
Definition: MpAndroidAudioTrack.cpp:45
void * raw
Definition: MpAndroidAudioTrack.h:73
virtual uint32_t getSampleRate()
Definition: MpAndroidAudioTrack.cpp:65
Definition: MpAndroidAudioTrack.h:61
virtual ~MpAndroidAudioTrack()
Destructor.
Definition: MpAndroidAudioTrack.cpp:38
short * i16
Definition: MpAndroidAudioTrack.h:74
void(* sipXcallback_t)(int event, void *user, void *info)
Definition: MpAndroidAudioBindingInterface.h:32
Definition: MpAndroidAudioTrack.h:65
virtual void dumpAudioTrack(const char *label)
Definition: MpAndroidAudioTrack.cpp:94
Definition: MpAndroidAudioTrack.h:56
virtual uint32_t latency() const
Definition: MpAndroidAudioTrack.cpp:83
virtual int initCheck() const
Definition: MpAndroidAudioTrack.cpp:57
virtual uint32_t frameCount() const
Definition: MpAndroidAudioTrack.cpp:77
size_t frameCount
Definition: MpAndroidAudioTrack.h:70
size_t size
Definition: MpAndroidAudioTrack.h:71
Definition: MpAndroidAudioTrack.h:55
int8_t * i8
Definition: MpAndroidAudioTrack.h:75
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.
Definition: MpAndroidAudioBindingInterface.cpp:128
virtual void stop()
Definition: MpAndroidAudioTrack.cpp:50
int format
Definition: MpAndroidAudioTrack.h:69
virtual int frameSize() const
Definition: MpAndroidAudioTrack.cpp:71
uint32_t flags
Definition: MpAndroidAudioTrack.h:67
Definition: MpAndroidAudioTrack.h:53