arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
I2SDriverESP32V1::DriverCommon Struct Referenceabstract

#include <I2SESP32V1.h>

Inheritance diagram for I2SDriverESP32V1::DriverCommon:
I2SDriverESP32V1::DriverI2S

Public Member Functions

virtual bool changeSampleRate (I2SConfigESP32V1 &cfg, i2s_chan_handle_t &tx_chan, i2s_chan_handle_t &rx_chan)
 
virtual i2s_chan_config_t getChannelConfig (I2SConfigESP32V1 &cfg)=0
 
virtual bool startChannels (I2SConfigESP32V1 &cfg, i2s_chan_handle_t &tx_chan, i2s_chan_handle_t &rx_chan, int txPin, int rxPin)=0
 

Protected Member Functions

int get_bits_eff (int bits)
 24 bits are stored in a 32 bit integer
 

Member Function Documentation

◆ changeSampleRate()

virtual bool changeSampleRate ( I2SConfigESP32V1 cfg,
i2s_chan_handle_t tx_chan,
i2s_chan_handle_t rx_chan 
)
inlinevirtual

Reimplemented in I2SDriverESP32V1::DriverI2S.

◆ get_bits_eff()

int get_bits_eff ( int  bits)
inlineprotected

24 bits are stored in a 32 bit integer

◆ getChannelConfig()

virtual i2s_chan_config_t getChannelConfig ( I2SConfigESP32V1 cfg)
pure virtual

Implemented in I2SDriverESP32V1::DriverI2S.

◆ startChannels()

virtual bool startChannels ( I2SConfigESP32V1 cfg,
i2s_chan_handle_t tx_chan,
i2s_chan_handle_t rx_chan,
int  txPin,
int  rxPin 
)
pure virtual

Implemented in I2SDriverESP32V1::DriverI2S.


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