You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
I tried using this library to decode mp3 to PCM. There were no errors but when I read the PCM samples using the decodeFullyInto() function, the samplesBuffer does not contain any values (all zero values). The mainData byte array contains values so I'm not quite sure what the issue is.
The text was updated successfully, but these errors were encountered:
clarcrz
changed the title
samplesBuffer always returns empty values
samplesBuffer always returns zero values
Oct 18, 2018
Hey, I found a solution. The problem was that the decodeFullyInto() function only decoded one Frame, not like descripted the whole sound. You have to use the version from kevinstadler (https://github.com/kevinstadler/JavaMP3). He fixed the decodeFullyInto() function so that it doesn't just decode one frame.
I tried using this library to decode mp3 to PCM. There were no errors but when I read the PCM samples using the decodeFullyInto() function, the samplesBuffer does not contain any values (all zero values). The mainData byte array contains values so I'm not quite sure what the issue is.
The text was updated successfully, but these errors were encountered: