libgig  4.0.0
gig::buffer_t Struct Reference

Pointer address and size of a buffer. More...

#include <gig.h>

Public Member Functions

 buffer_t ()
 

Public Attributes

void * pStart
 Points to the beginning of the buffer. More...
 
unsigned long Size
 Size of the actual data in the buffer in bytes. More...
 
unsigned long NullExtensionSize
 The buffer might be bigger than the actual data, if that's the case that unused space at the end of the buffer is filled with NULLs and NullExtensionSize reflects that unused buffer space in bytes. Those NULL extensions are mandatory for differential algorithms that have to take the following data words into account, thus have to access past the buffer's boundary. If you don't know what I'm talking about, just forget this variable. :) More...
 

Detailed Description

Pointer address and size of a buffer.

Definition at line 81 of file gig.h.

Constructor & Destructor Documentation

◆ buffer_t()

gig::buffer_t::buffer_t ( )
inline

Definition at line 85 of file gig.h.

References NullExtensionSize, pStart, and Size.

Member Data Documentation

◆ NullExtensionSize

unsigned long gig::buffer_t::NullExtensionSize

The buffer might be bigger than the actual data, if that's the case that unused space at the end of the buffer is filled with NULLs and NullExtensionSize reflects that unused buffer space in bytes. Those NULL extensions are mandatory for differential algorithms that have to take the following data words into account, thus have to access past the buffer's boundary. If you don't know what I'm talking about, just forget this variable. :)

Definition at line 84 of file gig.h.

Referenced by buffer_t(), gig::Sample::CreateDecompressionBuffer(), gig::Sample::DestroyDecompressionBuffer(), Korg::KSFSample::GetCache(), gig::Sample::GetCache(), Korg::KSFSample::KSFSample(), Korg::KSFSample::LoadSampleDataWithNullSamplesExtension(), gig::Sample::LoadSampleDataWithNullSamplesExtension(), Korg::KSFSample::ReleaseSampleData(), gig::Sample::ReleaseSampleData(), and gig::Sample::Sample().

◆ pStart

◆ Size


The documentation for this struct was generated from the following file: