Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Files Functions Variables Typedefs Macros Groups
AudioCodec.h
1 #ifndef AUDIOCODEC_H_
2 #define AUDIOCODEC_H_
3 
4 class AudioCodec
5 {
6 public:
7  virtual ~AudioCodec() {};
8  virtual int initCodec() = 0;
9  virtual int startAudio(int parameter) = 0;
10  virtual int stopAudio() = 0;
11  virtual int setPga(float newGain, unsigned short int channel) = 0;
12  virtual int setDACVolume(int halfDbSteps) = 0;
13  virtual int setADCVolume(int halfDbSteps) = 0;
14  virtual int setHPVolume(int halfDbSteps) = 0;
15  virtual int disable() = 0;
16  virtual int reset() = 0;
17 };
18 #endif /* AUDIOCODEC_H_ */
Definition: AudioCodec.h:4