Skip to content

Commit

Permalink
fix: (mp3) http stream buffer too large compared to finishing timout.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnumpi committed Jul 3, 2024
1 parent 78ea8bd commit e1fa274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esphome/components/adf_pipeline/adf_audio_sources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ bool HTTPStreamReaderAndDecoder::init_adf_elements_() {

http_stream_cfg_t http_cfg = HTTP_STREAM_CFG_DEFAULT();
http_cfg.task_core = 0;
http_cfg.out_rb_size = 256 * 1024;
http_cfg.out_rb_size = HTTP_STREAM_RB_SIZE;
http_cfg.event_handle = http_event_handler;
http_stream_reader_ = http_stream_init(&http_cfg);
//http_stream_reader_->buf_size = 1024;
Expand Down

0 comments on commit e1fa274

Please sign in to comment.