How to dynamically set AudioInfo based on files on disk? #2251
-
|
I'm currently trying to play various MP3s (though eventually I would like to play all supported file types), but some of them don't play, just make weird noises. I'm assuming that this is because I'm using an |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
|
Hi, if you want to read the info from the mp3 header maybe the information in this link this can help you: Note that using different sample rates can cause issues when you want to mix them together. |
Beta Was this translation helpful? Give feedback.
-
|
Double check the bitrate of your non working mp3 files to confirm my assumption. Please ignore the info about the AudioInfo above: For AAC and MP3 it is the other way round: you don't tell the Decoder this but this information is provided from the Decoder after starting the decoding! |
Beta Was this translation helpful? Give feedback.
Double check the bitrate of your non working mp3 files to confirm my assumption.
If my diagrnosis is confirmed, just increase the max pcm output size and eventually the max frame size as described int the Parameters section of the Readme
Please ignore the info about the AudioInfo above: For AAC and MP3 it is the other way round: you don't tell the Decoder this but this information is provided from the Decoder after starting the decoding!