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

Salman9133
Posts: 2
Joined: Thu Aug 08, 2024 2:49 pm

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

Postby Salman9133 » Thu Aug 08, 2024 3:11 pm

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
Attachments
sd_pic.PNG
sd card path
sd_pic.PNG (26.29 KiB) Viewed 967 times
error_Pic.PNG
output log file openeing error
error_Pic.PNG (43.05 KiB) Viewed 967 times

Salman9133
Posts: 2
Joined: Thu Aug 08, 2024 2:49 pm

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

Postby Salman9133 » Mon Aug 12, 2024 7:27 am

Expecting the reply from admin??

Who is online

Users browsing this forum: No registered users and 59 guests