Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_pipeline_single_element_issue' into 'master'
Browse files Browse the repository at this point in the history
Fixed a bug that caused an element to be linked to an...

Closes AUD-5970

See merge request adf/esp-adf-internal!1379
  • Loading branch information
jason-mao committed Feb 28, 2025
2 parents a2ab6ce + 6c28242 commit 8301b97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/audio_pipeline/audio_pipeline.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,9 @@ static esp_err_t _pipeline_rb_linked(audio_pipeline_handle_t pipeline, audio_ele
{
static ringbuf_handle_t rb;
ringbuf_item_t *rb_item;
if (first) {
rb = NULL;
}
if (last) {
audio_element_set_input_ringbuf(el, rb);
} else {
Expand Down

0 comments on commit 8301b97

Please sign in to comment.