Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | List of all members
AudioCodec Class Referenceabstract
Inheritance diagram for AudioCodec:
Es9080_Codec I2c_Codec I2c_MultiTLVCodec Spi_Codec Tlv320_Es9080_Codec I2c_MultiI2sCodec I2c_MultiTdmCodec

Public Member Functions

virtual int initCodec ()=0
 
virtual int startAudio (int shouldBeReady)=0
 
virtual int stopAudio ()=0
 
virtual unsigned int getNumIns ()=0
 
virtual unsigned int getNumOuts ()=0
 
virtual float getSampleRate ()=0
 
virtual int setInputGain (int channel, float newGain)=0
 
virtual int setLineOutVolume (int channel, float gain)=0
 
virtual int setHpVolume (int channel, float gain)=0
 
virtual int disable ()=0
 
virtual int reset ()=0
 
virtual int setMode (std::string parameter)
 
virtual McaspConfiggetMcaspConfig ()=0
 

The documentation for this class was generated from the following file: