[i2s_speaker] A few fixes (#6872)

This commit is contained in:
Jesse Hills
2024-06-10 15:22:41 +12:00
committed by GitHub
parent 7b45498de6
commit 6de79d6cfb
2 changed files with 33 additions and 9 deletions
@@ -60,7 +60,6 @@ class I2SAudioSpeaker : public Component, public speaker::Speaker, public I2SAud
protected:
void start_();
// void stop_();
void watch_();
static void player_task(void *params);
@@ -70,6 +69,7 @@ class I2SAudioSpeaker : public Component, public speaker::Speaker, public I2SAud
QueueHandle_t event_queue_;
uint8_t dout_pin_{0};
bool task_created_{false};
#if SOC_I2S_SUPPORTS_DAC
i2s_dac_mode_t internal_dac_mode_{I2S_DAC_CHANNEL_DISABLE};