25 unsigned int slotSize = 16;
26 unsigned int bitDelay = 0;
27 unsigned int firstSlot = 0;
30 int startAudio(
int shouldBeReady);
32 unsigned int getNumIns();
33 unsigned int getNumOuts();
34 float getSampleRate();
36 int setInputGain(
int channel,
float newGain);
37 int setLineOutVolume(
int channel,
float gain);
38 int setHpVolume(
int channel,
float gain);
41 int setMode(std::string parameter);
43 int numDetectedCodecs();
45 void debugWriteRegister(
int codecNum,
int regNum,
int value);
46 int debugReadRegister(
int codecNum,
int regNum);
49 I2c_MultiTLVCodec(I2c_MultiTLVCodec&&) =
delete;
50 I2c_MultiTLVCodec(
const std::string& cfgString,
TdmConfig tdmConfig =
TdmConfig(),
bool isVerbose =
false);
55 std::shared_ptr<I2c_Codec> primaryCodec;
57 std::vector<std::shared_ptr<I2c_Codec>> codecs;
58 std::vector<std::shared_ptr<I2c_Codec>> disabledCodecs;