summaryrefslogtreecommitdiff
path: root/src/device_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device_android.h')
-rw-r--r--src/device_android.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/device_android.h b/src/device_android.h
index 2c469ca..9682caf 100644
--- a/src/device_android.h
+++ b/src/device_android.h
@@ -9,7 +9,7 @@
namespace audiere {
- class AndroidAudioDevice : public MixerDevice {
+ class AndroidAudioDevice : public ThreadedMixerDevice {
public:
static AndroidAudioDevice* create(const ParameterList& parameters);
@@ -18,15 +18,11 @@ namespace audiere {
~AndroidAudioDevice();
public:
- void ADR_CALL update();
+ void ADR_CALL outputBuffer(const char* buf, int buf_len);
const char* ADR_CALL getName();
private:
- int m_buffer_size;
- char* m_buffer;
- int m_rate;
-
- void writeData();
+ bool m_quit;
};
}