summaryrefslogtreecommitdiff
path: root/src/device_android.h
blob: 9682caf5fb41c42c6b8137d7f623dd0a05c7a1e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef DEVICE_ANDROID_H
#define DEVICE_ANDROID_H


#include "audiere.h"
#include "device_mixer.h"

#include "GameAudio.h"

namespace audiere {

  class AndroidAudioDevice : public ThreadedMixerDevice {
  public:
    static AndroidAudioDevice* create(const ParameterList& parameters);

  private:
    AndroidAudioDevice(int rate, int buffer_size);
    ~AndroidAudioDevice();

  public:
    void ADR_CALL outputBuffer(const char* buf, int buf_len);
    const char* ADR_CALL getName();

  private:
    bool m_quit;
  };

}


#endif