arduino-audio-driver
Classes | Typedefs | Enumerations | Variables
audio_driver Namespace Reference

Classes

class  AudioBoard
 Defitintion for audio board pins and an audio driver. More...
 
class  AudioDriver
 Abstract Driver API for codec chips. More...
 
class  AudioDriverAC101Class
 Driver API for AC101 codec chip. More...
 
class  AudioDriverAD1938Class
 Driver API for AD1938 TDS DAC/ADC. More...
 
class  AudioDriverCS42448Class
 Driver API for CS42448 TDS DAC/ADC. More...
 
class  AudioDriverCS43l22Class
 Driver API for the CS43l22 codec chip on 0x94 (0x4A<<1) More...
 
class  AudioDriverES7210Class
 Driver API for ES7210 codec chip. More...
 
class  AudioDriverES7243Class
 Driver API for Lyrat ES7243 codec chip. More...
 
class  AudioDriverES7243eClass
 Driver API for ES7243e codec chip. More...
 
class  AudioDriverES8156Class
 Driver API for ES8156 codec chip. More...
 
class  AudioDriverES8311Class
 Driver API for Lyrat ES8311 codec chip. More...
 
class  AudioDriverES8374Class
 Driver API for ES8374 codec chip. More...
 
class  AudioDriverES8388Class
 Driver API for ES8388 codec chip. More...
 
class  AudioDriverLyratMiniClass
 Driver API for Lyrat Mini with a ES8311 and a ES7243 codec chip. More...
 
class  AudioDriverTAS5805MClass
 Driver API for TAS5805M codec chip. More...
 
class  AudioDriverWM8960Class
 Driver API for WM8990 codec chip. More...
 
class  AudioDriverWM8978Class
 Driver API for the wm8978 codec chip. More...
 
class  AudioDriverWM8994Class
 Driver API for the wm8994 codec chip. More...
 
class  CodecConfig
 I2S configuration and definition of input and output with default values. More...
 
class  DriverPins
 All pins for i2s, spi, i2c and other pins. More...
 
class  NoDriverClass
 Dummy Driver which does nothing. More...
 
class  PinsAudioKitAC101Class
 Pins for alt AC101 AudioDriver - use the PinsAudioKitAC101 object! More...
 
class  PinsAudioKitEs8388v1Class
 Pins for Es8388 AudioDriver - use the PinsAudioKitEs8388v1 object! More...
 
class  PinsAudioKitEs8388v2Class
 Pins for alt Es8388 AudioDriver - use the PinsAudioKitEs8388v2 object! More...
 
struct  PinsFunction
 Pins for LED, Buttons, AMP etc. More...
 
struct  PinsI2C
 I2C pins. More...
 
struct  PinsI2S
 I2S pins. More...
 
class  PinsLyrat42Class
 Pins for Lyrat 4.2 - use the PinsLyrat42 object! More...
 
class  PinsLyrat43Class
 Pins for Lyrat 4.3 - use the PinsLyrat43 object! More...
 
class  PinsLyratMiniClass
 Pins for Lyrat Mini - use the PinsLyratMini object! More...
 
struct  PinsSPI
 SPI pins. More...
 

Typedefs

using GpioPin = int16_t
 

Enumerations

enum class  PinFunction {
  HEADPHONE_DETECT , AUXIN_DETECT , PA , POWER ,
  LED , KEY , SD , CODEC ,
  CODEC_ADC , LATCH , RESET , MCLK_SOURCE
}
 Pin Functions. More...
 
enum class  PinLogic {
  InputActiveHigh , InputActiveLow , InputActiveTouch , Input ,
  Output
}
 input or output More...
 

Variables

static AudioDriverAC101Class AudioDriverAC101
 
static AudioDriverAD1938Class AudioDriverAD1938
 
static AudioDriverCS42448Class AudioDriverCS42448
 
static AudioDriverCS43l22Class AudioDriverCS43l22
 
static AudioDriverES7210Class AudioDriverES7210
 
static AudioDriverES7243Class AudioDriverES7243
 
static AudioDriverES7243eClass AudioDriverES7243e
 
static AudioDriverES8156Class AudioDriverES8156
 
static AudioDriverES8311Class AudioDriverES8311
 
static AudioDriverES8374Class AudioDriverES8374
 
static AudioDriverES8388Class AudioDriverES8388
 
static AudioDriverLyratMiniClass AudioDriverLyratMini
 
static AudioDriverWM8960Class AudioDriverWM8960
 
static AudioDriverWM8978Class AudioDriverWM8978
 
static AudioDriverWM8994Class AudioDriverWM8994
 
static AudioBoard AudioKitAC101 {AudioDriverAC101, PinsAudioKitAC101}
 
static AudioBoard AudioKitEs8388V1 {AudioDriverES8388, PinsAudioKitEs8388v1}
 
static AudioBoard AudioKitEs8388V2 {AudioDriverES8388, PinsAudioKitEs8388v2}
 
PinsSPI ESP32PinsSD {PinFunction::SD, 14, 2, 15, 13, SPI}
 Default SPI pins for ESP32 Lyrat, AudioDriver etc. More...
 
static AudioBoard GenericCS43l22 {AudioDriverCS43l22, NoPins}
 
static AudioBoard GenericWM8960 {AudioDriverWM8960, NoPins}
 
static AudioBoard LyratMini {AudioDriverLyratMini, PinsLyratMini}
 
static AudioBoard LyratV42 {AudioDriverES8388, PinsLyrat42}
 
static AudioBoard LyratV43 {AudioDriverES8388, PinsLyrat43}
 
static AudioBoard NoBoard {NoDriver, NoPins}
 
static NoDriverClass NoDriver
 
static DriverPins NoPins
 Pins need to be set up in the sketch. More...
 
static PinsAudioKitAC101Class PinsAudioKitAC101
 
static PinsAudioKitEs8388v1Class PinsAudioKitEs8388v1
 
static PinsAudioKitEs8388v2Class PinsAudioKitEs8388v2
 
static PinsLyrat42Class PinsLyrat42
 
static PinsLyrat43Class PinsLyrat43
 
static PinsLyratMiniClass PinsLyratMini
 
const samplerate_t rate_code [14]
 
const int rate_num [14]
 

Typedef Documentation

◆ GpioPin

using GpioPin = int16_t

Variable Documentation

◆ ESP32PinsSD

PinsSPI ESP32PinsSD {PinFunction::SD, 14, 2, 15, 13, SPI}

Default SPI pins for ESP32 Lyrat, AudioDriver etc.

◆ rate_code

const samplerate_t rate_code[14]
Initial value:
= {
@ RATE_44K
Definition: Common.h:81
@ RATE_24K
Definition: Common.h:79
@ RATE_22K
Definition: Common.h:78
@ RATE_128K
Definition: Common.h:86
@ RATE_8K
Definition: Common.h:75
@ RATE_88K
Definition: Common.h:84
@ RATE_176K
Definition: Common.h:87
@ RATE_32K
Definition: Common.h:80
@ RATE_96K
Definition: Common.h:85
@ RATE_11K
Definition: Common.h:76
@ RATE_64K
Definition: Common.h:83
@ RATE_16K
Definition: Common.h:77
@ RATE_48K
Definition: Common.h:82
@ RATE_192K
Definition: Common.h:88

◆ rate_num

const int rate_num[14]
Initial value:
= {8000, 11025, 16000, 22050, 24000, 32000, 44100,
48000, 64000, 88200, 96000, 128000, 176400, 192000}