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 was archived by the owner on Jan 6, 2023. It is now read-only.
Repository navigation
This repository was 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.
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.
Activity
[-]samplesBuffer always returns empty values[/-][+]samplesBuffer always returns zero values[/+]madebyTimo commentedon Nov 3, 2018
Hello, same problem here. The decodeFullyInto() function only writes zero values into the OutputStream
madebyTimo commentedon Nov 8, 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.
clarcrz commentedon Nov 12, 2018
You just saved my life. I'll try this one out. Thanks!!
Edit: I tried it out and I'm still getting zero values