Outputs to ESP32 DAC through the ULP (Ultra> Low Power coprocessor), freeing I2S for other uses. Connect left channel on pin 25 Connect right channel on pin 26.
More...
#include <AudioESP32ULP.h>
|
uint32_t | create_I_BXI (uint32_t imm_pc) |
|
uint32_t | create_I_WR_REG (uint32_t reg, uint32_t low_bit, uint32_t high_bit, uint32_t val) |
|
void | notifyAudioChange (AudioInfo info) |
|
bool | setup () |
|
bool | writeFrame (int16_t sample[2]) |
|
|
int | _timeout = 10 |
|
int | activeDACs = 3 |
|
uint8_t | bufferedOddSample = 128 |
|
const uint32_t | bufferStart = indexAddress + 1 |
|
AudioInfo | cfg |
|
const uint32_t | dacTableStart1 = 2048 - 512 |
|
const uint32_t | dacTableStart2 = dacTableStart1 - 512 |
|
int | hertz |
|
const uint32_t | indexAddress = opcodeCount |
|
bool | is_active = false |
|
bool | is_notify_active = true |
|
int | lastFilledWord = 0 |
|
int | min_write_bytes = 128 |
|
Vector< AudioInfoSupport * > | notify_vector |
|
const int | opcodeCount = 20 |
|
UlpDac | selected_mono_dac = ULP_DAC1 |
|
bool | stereoOutput = true |
|
SingleBuffer< uint8_t > | tmp {MAX_SINGLE_CHARS} |
|
int | tmpPos = 0 |
|
const int | totalSamples = totalSampleWords * 2 |
|
uint32_t | totalSampleWords |
|
bool | waitingOddSample = true |
|
Outputs to ESP32 DAC through the ULP (Ultra> Low Power coprocessor), freeing I2S for other uses. Connect left channel on pin 25 Connect right channel on pin 26.
- Version
- 0.1
- Date
- 2023-03-26
- Copyright
- (C) 2020 Martin Laclaustra, based on bitluni's code
◆ writeSilence()
virtual void writeSilence |
( |
size_t |
len | ) |
|
|
inlinevirtualinherited |
Writes n 0 values (= silence)
- Parameters
-
◆ totalSampleWords
uint32_t totalSampleWords |
|
protected |
Initial value:=
2048 - 512 - 512 - (opcodeCount + 1)
The documentation for this class was generated from the following file: