Provides an IContainerReader implementation for basic Ogg files.
More...
|
int[] | StreamSerials => _packetReaders.Keys.ToArray() |
| Gets the list of stream serials found in the container so far. More...
|
|
|
int | PagesRead [get] |
| Gets the number of pages that have been read in the container. More...
|
|
bool | CanSeek [get] |
| Gets whether the container supports seeking. More...
|
|
long | WasteBits [get] |
| Gets the number of bits in the container that are not associated with a logical stream. More...
|
|
int[] | StreamSerials [get] |
| Gets the list of stream serials found in the container so far. More...
|
|
bool | CanSeek [get] |
| Gets whether the container supports seeking. More...
|
|
long | WasteBits [get] |
| Gets the number of bits in the container that are not associated with a logical stream. More...
|
|
int | PagesRead [get] |
| Gets the number of pages that have been read in the container. More...
|
|
Provides an IContainerReader implementation for basic Ogg files.
◆ ContainerReader() [1/2]
Crosstales.NVorbis.Ogg.ContainerReader.ContainerReader |
( |
string |
path | ) |
|
Creates a new instance with the specified file.
- Parameters
-
path | The full path to the file. |
◆ ContainerReader() [2/2]
Crosstales.NVorbis.Ogg.ContainerReader.ContainerReader |
( |
Stream |
stream, |
|
|
bool |
closeOnDispose |
|
) |
| |
Creates a new instance with the specified stream. Optionally sets to close the stream when disposed.
- Parameters
-
stream | The stream to read. |
closeOnDispose | True to close the stream when Dispose is called, otherwise False . |
◆ Dispose()
void Crosstales.NVorbis.Ogg.ContainerReader.Dispose |
( |
| ) |
|
◆ FindNextStream()
bool Crosstales.NVorbis.Ogg.ContainerReader.FindNextStream |
( |
| ) |
|
◆ GetStream()
IPacketProvider Crosstales.NVorbis.Ogg.ContainerReader.GetStream |
( |
int |
streamSerial | ) |
|
Gets the IPacketProvider instance for the specified stream serial.
- Parameters
-
streamSerial | The stream serial to look for. |
- Returns
- An IPacketProvider instance.
- Exceptions
-
ArgumentOutOfRangeException | The specified stream serial was not found. |
◆ GetTotalPageCount()
int Crosstales.NVorbis.Ogg.ContainerReader.GetTotalPageCount |
( |
| ) |
|
◆ Init()
bool Crosstales.NVorbis.Ogg.ContainerReader.Init |
( |
| ) |
|
◆ StreamSerials
int [] Crosstales.NVorbis.Ogg.ContainerReader.StreamSerials => _packetReaders.Keys.ToArray() |
Gets the list of stream serials found in the container so far.
◆ CanSeek
bool Crosstales.NVorbis.Ogg.ContainerReader.CanSeek |
|
get |
Gets whether the container supports seeking.
◆ PagesRead
int Crosstales.NVorbis.Ogg.ContainerReader.PagesRead |
|
get |
Gets the number of pages that have been read in the container.
◆ WasteBits
long Crosstales.NVorbis.Ogg.ContainerReader.WasteBits |
|
get |
Gets the number of bits in the container that are not associated with a logical stream.
◆ NewStream
Event raised when a new logical stream is found in the container.
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/DJPro/DJPro/Assets/Plugins/crosstales/Common/Libraries/NVorbis/Ogg/OggContainerReader.cs