Class Mp3FileReader
java.lang.Object
javax.sound.sampled.spi.AudioFileReader
de.gurkenlabs.litiengine.sound.spi.AudioFileReader
de.gurkenlabs.litiengine.sound.spi.mp3.Mp3FileReader
Reads MPEG-1 Layer III stream metadata for the Java Sound service provider.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AudioFileFormat.TypeThe Java Sound file type for MP3 resources. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AudioFileFormatgetAudioFileFormat(InputStream stream, long fileLength) Methods inherited from class AudioFileReader
getAudioFileFormat, getAudioFileFormat, getAudioFileFormat, getAudioInputStream, getAudioInputStream, getAudioInputStream, getAudioInputStream
-
Field Details
-
MP3
The Java Sound file type for MP3 resources.
-
-
Constructor Details
-
Mp3FileReader
public Mp3FileReader()Creates an MP3 file reader.
-
-
Method Details
-
getAudioFileFormat
protected AudioFileFormat getAudioFileFormat(InputStream stream, long fileLength) throws UnsupportedAudioFileException, IOException - Specified by:
getAudioFileFormatin classAudioFileReader- Throws:
UnsupportedAudioFileExceptionIOException
-