OggReader class
Class for reading and parsing Ogg files.
Properties
- filePath ↔ String
-
Path to the Ogg file.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- raFile ↔ RandomAccessFile?
-
Random access file for the Ogg file.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> - Closes the Ogg file.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseNextPage(
) → Future< OggPageResult> - Parses the next page in the Ogg file. Returns an OggPageResult containing the parsed segments and page header.
-
readHeaders(
) → Future< OggHeader> - Reads the headers from the Ogg file. Throws an exception if an error occurs while reading the headers.
-
readOpusData(
{required int sampleRate}) → Future< OpusData> - Reads Opus data from the Ogg file. Throws an exception if an error occurs while reading the Opus data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited