Get raw PCM data

Hello, I’m trying to get raw PCM data from MP3 file just by opening the file and calling lock() and unlock() but don’t get any sound when I’m trying to play sound from memory, does lock() even return raw PCM data by just opening the file?

Found out that Sound::readData does just what I need.

1 Like