Search found 3 matches

by CyborgZA
Thu Jan 02, 2025 4:46 pm
Forum: ESP-ADF
Topic: Raw Stream Writer does not play the complete data written to the buffer.
Replies: 1
Views: 5173

Re: Raw Stream Writer does not play the complete data written to the buffer.

So, in my function "play_seat1_mp3()" I added the following line to finish playing the audio in the rawstreamWriter's buffer

audio_element_set_ringbuf_done(base_raw_write_seat1); //Where base_raw_write_seat1 is my rawstream element


This now finishes playing the leftover frames in the buffer ...
by CyborgZA
Tue Dec 31, 2024 4:12 pm
Forum: ESP-ADF
Topic: Raw Stream Writer does not play the complete data written to the buffer.
Replies: 1
Views: 5173

Raw Stream Writer does not play the complete data written to the buffer.

I have a pipeline set up as follows: raw_stream_writer->mp3_decoder->I2S_stream_writer.
I have a seperate task that feeds data (mp3 frames) to a ringbuffer and another task that writes the data from the ringbuffer to the raw_stream_writer.
At Times i need to stop the mp3 frames in the ringbuffer ...
by CyborgZA
Sun Jun 09, 2024 6:44 pm
Forum: ESP-ADF
Topic: Custom Board i2s_stream configuration - Cannot pass in custom gpio
Replies: 3
Views: 13508

Custom Board i2s_stream configuration - Cannot pass in custom gpio

Hi I am trying to initialize the i2c_stream by passing in my custom gpio configuration from the main code file. I have created an init function to set up the i2s config:

The problem I have is that the stream initialization fails: see LOG output:
W (1277) i2s_platform: i2s controller 0 has been ...

Go to advanced search