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. This chip supports only input! 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  AudioDriverPCM3168Class
 Driver API for the CS43l22 codec chip on 0x94 (0x4A<<1) 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  DriverTouchClass
 Support for Touch. 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  AudioDriverKey {
  KEY_REC = 0 , KEY_MODE , KEY_PLAY , KEY_SET ,
  KEY_VOLUME_DOWN , KEY_VOLUME_UP
}
 Key names. More...
 
enum class  PinFunction {
  UNDEFINED = 0 , 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 , Inactive
}
 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 AudioDriverPCM3168Class AudioDriverPCM3168
 
static AudioDriverWM8960Class AudioDriverWM8960
 
static AudioDriverWM8978Class AudioDriverWM8978
 
static AudioDriverWM8994Class AudioDriverWM8994
 
static AudioBoard AudioKitAC101 {AudioDriverAC101, PinsAudioKitAC101}
 
static AudioBoard AudioKitEs8388V1 {AudioDriverES8388, PinsAudioKitEs8388v1}
 
static AudioBoard AudioKitEs8388V2 {AudioDriverES8388, PinsAudioKitEs8388v2}
 
static PinsSPI ESP32PinsSD {PinFunction::SD, 14, 2, 15, 13, SPI}
 Default SPI pins for ESP32 Lyrat, AudioDriver etc CLK, MISO, MOSI, CS. 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}
static

Default SPI pins for ESP32 Lyrat, AudioDriver etc CLK, MISO, MOSI, CS.

◆ rate_code

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

◆ rate_num

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