|
| enum | CodecType { TLV320AIC3104 = 0
, TLV320AIC3106
} |
|
|
int | writeRegister (unsigned int reg, unsigned int value) |
|
int | readRegister (unsigned int reg) |
| int | initCodec () |
|
int | setParameters (const AudioCodecParams &codecParams) |
|
AudioCodecParams | getParameters () |
| int | startAudio (int shouldBeReady) |
| int | stopAudio () |
| unsigned int | getNumIns () |
| unsigned int | getNumOuts () |
| float | getSampleRate () |
|
int | setPllJ (short unsigned int j) |
|
int | setPllD (unsigned int d) |
|
int | setPllP (short unsigned int p) |
|
int | setPllR (unsigned int r) |
|
int | setPllK (float k) |
|
int | setNcodec (double NCODEC) |
|
int | setAudioSamplingRate (float newSamplingRate) |
|
short unsigned int | getPllJ () |
|
unsigned int | getPllD () |
|
unsigned int | getPllP () |
|
unsigned int | getPllR () |
|
float | getPllK () |
|
float | getAudioSamplingRate () |
| int | setInputGain (int channel, float gain) |
|
int | setDacVolume (int channel, float gain) |
| int | setHpVolume (int channel, float gain) |
| int | setLineOutVolume (int channel, float gain) |
|
int | enableHpOut (bool enable) |
|
int | enableLineOut (bool enable) |
| int | disable () |
| int | reset () |
|
void | setVerbose (bool isVerbose) |
|
| I2c_Codec (int i2cBus, int I2cAddress, CodecType type, bool verbose=false) |
| virtual McaspConfig & | getMcaspConfig () |
| int | setMode (std::string str) |
|
ssize_t | readBytes (void *buf, size_t count) |
|
ssize_t | writeBytes (const void *buf, size_t count) |
|
| I2c (I2c &&)=delete |
|
int | initI2C_RW (int bus, int address, int file) |
|
int | closeI2C () |
|
| enum | InitMode { InitMode_init = 0
, InitMode_noDeinit = 1
, InitMode_noInit = 2
} |
|
|
int | configureDCRemovalIIR (bool enable) |
|
|
int | codecType |
|
std::array< int, kNumIoChannels > | dacVolumeHalfDbs {} |
|
std::array< float, kNumIoChannels > | inputGain {} |
|
std::array< float, kNumIoChannels > | hpVolume {} |
|
std::array< float, kNumIoChannels > | lineOutVolume {} |
|
AudioCodecParams | params |
|
McaspConfig | mcaspConfig |
|
bool | running |
|
bool | verbose |
|
bool | hpEnabled = true |
|
bool | lineOutEnabled = true |
|
bool | differentialInput |
|
bool | unmutedPowerStage |
|
double | micBias |
|
InitMode | mode |
|
int | i2C_bus |
|
int | i2C_address |
|
int | i2C_file |
◆ initCodec()
| int I2c_Codec::initCodec |
( |
| ) |
|
|
virtual |
◆ startAudio()
| int I2c_Codec::startAudio |
( |
int | shouldBeReady | ) |
|
|
virtual |
◆ stopAudio()
| int I2c_Codec::stopAudio |
( |
| ) |
|
|
virtual |
◆ getNumIns()
| unsigned int I2c_Codec::getNumIns |
( |
| ) |
|
|
virtual |
◆ getNumOuts()
| unsigned int I2c_Codec::getNumOuts |
( |
| ) |
|
|
virtual |
◆ getSampleRate()
| float I2c_Codec::getSampleRate |
( |
| ) |
|
|
virtual |
◆ setInputGain()
| int I2c_Codec::setInputGain |
( |
int | channel, |
|
|
float | gain ) |
|
virtual |
◆ setHpVolume()
| int I2c_Codec::setHpVolume |
( |
int | channel, |
|
|
float | gain ) |
|
virtual |
◆ setLineOutVolume()
| int I2c_Codec::setLineOutVolume |
( |
int | channel, |
|
|
float | gain ) |
|
virtual |
◆ disable()
| int I2c_Codec::disable |
( |
| ) |
|
|
virtual |
◆ reset()
◆ getMcaspConfig()
◆ setMode()
| int I2c_Codec::setMode |
( |
std::string | str | ) |
|
|
virtual |
The documentation for this class was generated from the following file: