Method | Description | |
---|---|---|
FromPacket ( ByteVector packet ) : Codec |
Implements the CodecProvider delegate to provide support for recognizing a Vorbis stream from the header packet.
|
|
GetDuration ( long firstGranularPosition, long lastGranularPosition ) : System.TimeSpan |
Computes the duration of the stream using the first and last granular positions of the stream.
|
|
ReadPacket ( ByteVector packet, int index ) : bool |
Reads a Ogg packet that has been encountered in the stream.
|
Method | Description | |
---|---|---|
PacketType ( ByteVector packet ) : int |
Gets the packet type for a specified Vorbis packet.
|
|
Vorbis ( ) : System |
Constructs and initializes a new instance of
|
public static FromPacket ( ByteVector packet ) : Codec | ||
packet | ByteVector |
/// A |
return | Codec |
public GetDuration ( long firstGranularPosition, long lastGranularPosition ) : System.TimeSpan | ||
firstGranularPosition | long |
/// A |
lastGranularPosition | long |
/// A |
return | System.TimeSpan |
public ReadPacket ( ByteVector packet, int index ) : bool | ||
packet | ByteVector |
/// A |
index | int |
/// A |
return | bool |