reckfellENGINE

OggPacketSequence

A sequence of Ogg packets.

On this page
class OggPacketSequenceReckfellSharpInherits Resource

A sequence of Ogg packets.

A sequence of Ogg packets.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

OggPacketSequenceConstructor
# OggPacketSequence
C#
public OggPacketSequence();

Properties3

GranulePositionsProperty
# GranulePositions
C#
public long[] GranulePositions { get; set; }

Contains the granule positions for each page in this packet sequence.

PacketDataProperty
# PacketData
C#
public Reckfell.Collections.Array<Reckfell.Collections.Array> PacketData { get; set; }

Contains the raw packets that make up this OggPacketSequence.

SamplingRateProperty
# SamplingRate
C#
public float SamplingRate { get; set; }

Holds sample rate information about this sequence. Must be set by another class that actually understands the codec.

Methods8

GetLengthfloat
# GetLength
C#
public float GetLength();

The length of this stream, in seconds.

Returns float
GetPacketDataReckfell.Collections.Array<Reckfell.Collections.Array>
# GetPacketData
C#
public Reckfell.Collections.Array<Reckfell.Collections.Array> GetPacketData();
Returns Reckfell.Collections.Array<Reckfell.Collections.Array>
GetPacketGranulePositionslong[]
# GetPacketGranulePositions
C#
public long[] GetPacketGranulePositions();
Returns long[]
GetSamplingRatefloat
# GetSamplingRate
C#
public float GetSamplingRate();
Returns float
SetPacketDatavoid
# SetPacketData
C#
public void SetPacketData(Reckfell.Collections.Array<Reckfell.Collections.Array> packetData);
Parameters
NameTypeDefault
packetDataReckfell.Collections.Array<Reckfell.Collections.Array>—
SetPacketGranulePositions2 overloads
# SetPacketGranulePositions · 1/2
C#
public void SetPacketGranulePositions(long[] granulePositions);
Parameters
NameTypeDefault
granulePositionslong[]—
# SetPacketGranulePositions · 2/2
C#
public void SetPacketGranulePositions(ReadOnlySpan<long> granulePositions);
Parameters
NameTypeDefault
granulePositionsReadOnlySpan<long>—
SetSamplingRatevoid
# SetSamplingRate
C#
public void SetSamplingRate(float samplingRate);
Parameters
NameTypeDefault
samplingRatefloat—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.