Java API
class

PureJavaMp3Decoder

me.tamkungz.codecmedia.internal.audio.mp3.PureJavaMp3Decoder

Version
1.2.0
Java
17
Source file
me/tamkungz/codecmedia/internal/audio/mp3/PureJavaMp3Decoder.java
Repository
View source ↗

Experimental pure-Java MP3 decoder backend.

<p>

This implementation is intentionally lightweight and does not reconstruct the

original Layer III spectral data yet. It parses valid MP3 frame headers and

synthesizes a deterministic PCM timeline from frame cadence so callers can run

in runtime environments where Java Sound MP3 SPI is unavailable.

public final class PureJavaMp3Decoder

Methods 1

decodeToPcm

public static Mp3Decoder.DecodedPcm decodeToPcm(byte[] encodedMp3Data) throws CodecMediaException