ESP32-audioI2S icon indicating copy to clipboard operation
ESP32-audioI2S copied to clipboard

void getSource()

Open podaen opened this issue 3 years ago • 5 comments

Getting the source would be handy because of the length can be different. SD and speech will end, but the radio not.

podaen avatar Oct 08 '22 12:10 podaen

In the case of web files (podcasts, audio files), the advertising server transmits a content length. Then the bytes are counted until the end is reached. This is not the case with radio streams.

schreibfaul1 avatar Oct 08 '22 14:10 schreibfaul1

It's the radio where I having problems with. I can not turn it automatic off, because it is maybe other audio file I don't know. If I had a function to check if possible...

podaen avatar Oct 08 '22 14:10 podaen

Ok. So there is some documentation.

podaen avatar Oct 09 '22 14:10 podaen

Are the Queue playing until finished or will the next Queue override the previous one?

podaen avatar Oct 09 '22 15:10 podaen

I have it working now, it was easier than I though. I have created a playlist for all file types.

Are the Queue playing until finished or will the next Queue override the previous one?

I think I see now, it doesn't override until it reached the end like you told me before.

podaen avatar Oct 09 '22 20:10 podaen