1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-06 20:03:46 +01:00

[i2s-audio] ensure mic task isn't pinned to a core (#8879)

This commit is contained in:
Kevin Ahrendt
2025-05-27 15:47:42 -05:00
committed by GitHub
parent 8860c74f0c
commit a8fdb6db4d
2 changed files with 60 additions and 66 deletions

View File

@@ -43,7 +43,11 @@ class I2SAudioMicrophone : public I2SAudioIn, public microphone::Microphone, pub
#endif
protected:
/// @brief Starts the I2S driver. Updates the ``audio_stream_info_`` member variable with the current setttings.
/// @return True if succesful, false otherwise
bool start_driver_();
/// @brief Stops the I2S driver.
void stop_driver_();
/// @brief Attempts to correct a microphone DC offset; e.g., a microphones silent level is offset from 0. Applies a