summaryrefslogtreecommitdiff
path: root/src/device_zte.h
blob: dfbc8492810c2a25b724487ba6643a72fc942c8d (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
32
33
#ifndef DEVICE_ZTE_H
#define DEVICE_ZTE_H


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


namespace audiere {

  class ZteAudioDevice : public MixerDevice {
  public:
    static ZteAudioDevice* create(const ParameterList& parameters);

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

  public:
    void ADR_CALL update();
    const char* ADR_CALL getName();

  private:
    int m_buffer_size;
    char* m_buffer;
    int m_rate;
  };

}


#endif