Search found 6 matches

by fraschizzato
Fri Aug 27, 2021 5:48 pm
Forum: ESP-ADF
Topic: Underflow in pipeline_bt_source example
Replies: 0
Views: 7621

Underflow in pipeline_bt_source example

In the pipeline_bt_source example I get that error:

Code: Select all

BT_APPL: ### UNDERFLOW :: ONLY READ 0 BYTES OUT OF 512 ##
The board I'm using now is a LILYGO T-WATCH-2020 (esp32). can't figure out where the problem is.
Thanks
by fraschizzato
Thu Aug 26, 2021 4:51 pm
Forum: ESP-ADF
Topic: MP3_DECODER: reduce buffer size
Replies: 4
Views: 13141

Re: MP3_DECODER: reduce buffer size

I know that my board doesn't meet the requirements, for the use I was planning the actual limit is memory size for buffer. The question is if the decoder buffer (or probably of the pipeline) is resizable. Didn't find where the 27796 bytes value comes from. If I can reduce to half that size I can pro...
by fraschizzato
Tue Aug 24, 2021 8:14 am
Forum: ESP-ADF
Topic: MP3_DECODER: reduce buffer size
Replies: 4
Views: 13141

Re: MP3_DECODER: reduce buffer size

Yes, same result. At this time I can't find where to reduce the requested 27796 bytes.
Thanks
by fraschizzato
Fri Aug 20, 2021 4:02 pm
Forum: ESP-IDF
Topic: Play audio from ESP to BT Headset
Replies: 1
Views: 1908

Re: Play audio from ESP to BT Headset

The example code here: https://github.com/espressif/esp-adf/tr ... _bt_source
fits all the needs.
by fraschizzato
Fri Aug 20, 2021 4:00 pm
Forum: ESP-ADF
Topic: MP3_DECODER: reduce buffer size
Replies: 4
Views: 13141

MP3_DECODER: reduce buffer size

There's a way to reduce the decoder buffer size? At any try I always get that 27796 bytes are needed. MP3_DECODER: Allocate decoder buffer failed. bytes 27796, Now I'm trying to modify that config vars but without success. #define MY_MP3_DECODER_TASK_STACK_SIZE (5 * 1024) #define MY_MP3_DECODER_TASK...
by fraschizzato
Wed Aug 18, 2021 10:05 pm
Forum: ESP-IDF
Topic: Play audio from ESP to BT Headset
Replies: 1
Views: 1908

Play audio from ESP to BT Headset

Hi all, I'm trying to use the esp as wifi-bt audio-bridge. the goal is to stream/send an audio file to the esp via wifi and then use the esp to play that file on a bt headset. Starting from the a2dp_source example sketch I've succesfully connected the headset and played the random audio. Then with t...