arduino-audio-tools
|
Basic I2S API - for the ESP8266 Only 16 bits are supported ! More...
#include <I2SESP8266.h>
Public Member Functions | |
int | available () |
we assume the data is already available in the buffer | |
int | availableForWrite () |
We limit the write size to the buffer size. | |
bool | begin (I2SConfigStd cfg) |
starts the DAC | |
bool | begin (RxTxMode mode=TX_MODE) |
starts the DAC with the default config | |
I2SConfigStd | config () |
provides the actual configuration | |
I2SConfigStd | defaultConfig (RxTxMode mode) |
Provides the default configuration. | |
void | end () |
stops the I2C and unistalls the driver | |
bool | setAudioInfo (AudioInfo) |
Potentially updates the sample rate (if supported) | |
Protected Attributes | |
I2SConfigStd | cfg |
Friends | |
class | I2SStream |
Basic I2S API - for the ESP8266 Only 16 bits are supported !