9 #ifndef _MpodAndroid_h_ 10 #define _MpodAndroid_h_ 13 #include <os/OsIntTypes.h> 14 #include <os/OsStatus.h> 15 #include <utl/UtlString.h> 20 #include <utils/threads.h> 69 unsigned samplesPerSec,
71 OsCallback &frameTicker);
74 virtual OsStatus disableDevice();
77 virtual OsStatus pushFrame(
unsigned int numSamples,
111 Condition mWaitCbkCond;
124 UtlBoolean initAudioTrack();
127 static void audioCallback(
int event,
void* user,
void *info);
142 #endif // _MpodAndroid_h_ Audio input driver for Android OS.
Definition: MpAndroidAudioTrack.h:37
MpodAndroid is starting playing.
Definition: MpodAndroid.h:101
uint32_t MpFrameTime
Definition: MpTypes.h:53
OsAtomicLightUInt mState
Internal class state.
Definition: MpodAndroid.h:108
Mutex mLock
Definition: MpodAndroid.h:110
int mSampleBufferIndex
Index of the first sample not yet pushed to device.
Definition: MpodAndroid.h:120
OsNotification * mpNotifier
Event signaled when windows is ready to receive a new buffer.
Definition: MpodAndroid.h:115
MpodAndroid is being initialized or initialization failed.
Definition: MpodAndroid.h:99
int16_t MpAudioSample
Definition: MpTypes.h:44
StreamType
Definition: MpAndroidAudioBindingInterface.h:50
MpAudioSample * mpSampleBuffer
Buffer which pushBuffer should copy to.
Definition: MpodAndroid.h:119
MpAndroidAudioBindingInterface::StreamType mStreamType
Android type of the output stream.
Definition: MpodAndroid.h:107
MpodAndroid has been successfully initialized and is not playing.
Definition: MpodAndroid.h:100
Audio output driver for Android OS.
Definition: MpodAndroid.h:41
State
Definition: MpodAndroid.h:98
MpodAndroid is stopping.
Definition: MpodAndroid.h:103
MpAndroidAudioTrack * mpAudioTrack
Pointer to audio track used for playback.
Definition: MpodAndroid.h:109
MpodAndroid is playing.
Definition: MpodAndroid.h:102
Container for device specific output driver.
Definition: MpOutputDeviceDriver.h:53