Page 1 of 1

Unable to open the sd card mp3 file while transmitting audio data to connected device through bluetooth a2dp profile

Posted: Thu Aug 08, 2024 3:11 pm
by Salman9133
Note: iam using example code (D:\ESP_ADF\esp-adf\examples\player\pipeline_a2dp_source_stream)

1)audio_element_set_uri(fatfs_stream_reader, "/sdcard/test.mp3"); // i had set the same path still no luck

2)discovery and connection is absolutely fine when comes to transmission itself open the file is an error

3)File is also exsist in the sdcard

code:
f (fatfs->type == AUDIO_STREAM_READER) {
fatfs->file = open(path, O_RDONLY);//this value is returning -1

4)mount path is also crct and sd card init also fyn

Re: Unable to open the sd card mp3 file while transmitting audio data to connected device through bluetooth a2dp profile

Posted: Mon Aug 12, 2024 7:27 am
by Salman9133
Expecting the reply from admin??