Package de.maxhenkel.voicechat.api.mp3
Interface Mp3Decoder
public interface Mp3Decoder
-
Method Details
-
decode
Decodes the MP3 file and returns the decoded audio data as PCM samples.- Returns:
- the decoded audio data as PCM samples
- Throws:
IOException- if an I/O error occurs
-
getAudioFormat
Decodes the MP3 file ifdecode()has not been called before.- Returns:
- the audio format of the decoded audio data
- Throws:
IOException- if an I/O error occurs
-
getBitrate
Decodes the MP3 file ifdecode()has not been called before.- Returns:
- the bitrate of the mp3 file
- Throws:
IOException- if an I/O error occurs
-