Photon Voice v2.53

Public Member Functions | Public Attributes | Properties | List of all members
FrameBuffer Struct Reference

Public Member Functions

 FrameBuffer (byte[] array, int offset, int count, FrameFlags flags, byte frameNum, IDisposable disposer)
 
 FrameBuffer (byte[] array, FrameFlags flags, byte frameNum)
 
 FrameBuffer (FrameBuffer from, int offset, int count, FrameFlags flags, byte frameNum)
 
void Retain ()
 
void Release ()
 
override string ToString ()
 

Public Attributes

readonly byte[] array
 
readonly int offset
 
readonly int count
 
readonly IDisposable disposer
 
bool disposed
 
int refCnt
 
GCHandle gcHandle
 
IntPtr ptr
 
bool pinned
 
bool IsFEC => (Flags & FrameFlags.FEC) != 0
 
bool IsConfig => (Flags & FrameFlags.Config) != 0
 
bool IsKeyframe => (Flags & FrameFlags.KeyFrame) != 0
 

Properties

IntPtr Ptr [get]
 
byte[] Array [get]
 
int Length [get]
 
int Offset [get]
 
FrameFlags Flags [get]
 
byte FrameNum [get]