format 1.20 Documentation
Back | Index
class format.mp3.Reader
- function new(i : haxe.io.Input) : Void
- function read() : MP3
Reads the MP3 data.
Currently returns all valid frames.
- function readFrame() : MP3Frame
Reads a frame from the input.
The input position should already be just past the 11 bit syncword.
Returns null if the header is invalid or the frame was incomplete.
- function readFrameHeader() : MP3Header
- Returns null if header proves to be invalid.
- function readFrames() : Array<MP3Frame>
- Returns all valid frames. Invalid frames are discarded.
- function seekFrame() : FrameType
Winds the input stream until the 11-bit syncword is found.
@returns Bool false if not found (this should happen at eof).
- function skipID3v2() : Void
Called after found 'ID3' signature at the beginning of the file.
Records the raw tag data.