|
enum | CODEC_TYPE { MASTER_CODEC,
SLAVE_CODEC
} |
|
|
| Spi_Codec (const char *spidev_gpio_cs0, const char *spidev_gpio_cs1, bool isVerbose=false) |
|
int | writeRegister (unsigned char reg, unsigned char value, CODEC_TYPE codec=MASTER_CODEC) |
|
unsigned char | readRegister (unsigned char reg, CODEC_TYPE codec=MASTER_CODEC) |
|
int | initCodec () |
|
int | startAudio (int shouldBeReady) |
|
int | stopAudio () |
|
unsigned int | getNumIns () |
|
unsigned int | getNumOuts () |
|
float | getSampleRate () |
|
int | dumpRegisters () |
|
int | reset () |
|
bool | masterIsDetected () |
|
bool | slaveIsDetected () |
|
int | setLineOutVolume (int channel, float gain) |
|
int | setHpVolume (int channel, float gain) |
|
int | setInputGain (int channel, float newGain) |
|
int | disable () |
|
McaspConfig & | getMcaspConfig () |
|
virtual int | setMode (std::string parameter) |
|
The documentation for this class was generated from the following file: