decodeToPcm
public static DecodedPcm decodeToPcm(byte[] encodedMp3Data) throws CodecMediaException
me.tamkungz.codecmedia.internal.audio.mp3.Mp3Decoder
MP3 decoder that decodes into PCM signed 16-bit little-endian samples.
<p>
The implementation relies on Java Sound SPI available at runtime.
public final class Mp3Decoder
public static DecodedPcm decodeToPcm(byte[] encodedMp3Data) throws CodecMediaException
public record DecodedPcm(byte[] pcmS16Le, int sampleRate, int channels, int bitsPerSample)