|
arduino-audio-driver
|
I2S configuration and definition of input and output with default values. More...
#include <Driver.h>
Public Member Functions | |
| CodecConfig () | |
| setup default values More... | |
| bool | equalsExRate (CodecConfig alt) |
| Compare all attributes but ignore sample rate. More... | |
| codec_mode_t | get_mode () |
| Determines the codec_mode_t dynamically based on the input and output. More... | |
| int | getBitsNumeric () |
| Returns bits per sample as number. More... | |
| int | getChannelsNumeric () |
| Returns the number of channels as number. More... | |
| int | getRateNumeric () |
| Get the sample rate as number. More... | |
| bool | setBitsNumeric (int bits) |
| Sets the bits per sample with a numeric value. More... | |
| bool | setChannelsNumeric (int channels) |
| Defines the number of channels. More... | |
| int | setRateNumeric (int requestedRate) |
| Sets the sample rate as number: returns the effectively set rate. More... | |
Public Attributes | |
| I2SDefinition | i2s |
| input_device_t | input_device |
| output_device_t | output_device |
| bool | sd_active = true |
I2S configuration and definition of input and output with default values.
|
inline |
setup default values
|
inline |
Compare all attributes but ignore sample rate.
|
inline |
Determines the codec_mode_t dynamically based on the input and output.
|
inline |
Returns bits per sample as number.
|
inline |
Returns the number of channels as number.
|
inline |
Get the sample rate as number.
|
inline |
Sets the bits per sample with a numeric value.
|
inline |
Defines the number of channels.
|
inline |
Sets the sample rate as number: returns the effectively set rate.
|
inherited |
set I2S interface configuration
|
inherited |
set adc channel
|
inherited |
set dac channel
| bool sd_active = true |