Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
nw4hbm::snd::detail::StrmBufferPool Class Reference

#include <StrmChannel.h>

Public Member Functions

void Setup (void *base, u32 size, int count)
 
void Shutdown ()
 
void * Alloc ()
 
void Free (void *buffer)
 
u32 GetBlockSize () const
 

Private Attributes

void * mBuffer
 
u32 mBufferSize
 
u32 mBlockSize
 
int mBlockCount
 
int mAllocCount
 
u8 mAllocFlags [BLOCK_MAX/BITS_PER_BYTE]
 

Static Private Attributes

static const int BLOCK_MAX = 32
 
static const int BITS_PER_BYTE = 8
 

Member Function Documentation

◆ Alloc()

void * nw4hbm::snd::detail::StrmBufferPool::Alloc ( )

◆ Free()

void nw4hbm::snd::detail::StrmBufferPool::Free ( void * buffer)

◆ GetBlockSize()

u32 nw4hbm::snd::detail::StrmBufferPool::GetBlockSize ( ) const
inline

◆ Setup()

void nw4hbm::snd::detail::StrmBufferPool::Setup ( void * base,
u32 size,
int count )

◆ Shutdown()

void nw4hbm::snd::detail::StrmBufferPool::Shutdown ( )

Member Data Documentation

◆ BITS_PER_BYTE

const int nw4hbm::snd::detail::StrmBufferPool::BITS_PER_BYTE = 8
staticprivate

◆ BLOCK_MAX

const int nw4hbm::snd::detail::StrmBufferPool::BLOCK_MAX = 32
staticprivate

◆ mAllocCount

int nw4hbm::snd::detail::StrmBufferPool::mAllocCount
private

◆ mAllocFlags

u8 nw4hbm::snd::detail::StrmBufferPool::mAllocFlags[BLOCK_MAX/BITS_PER_BYTE]
private

◆ mBlockCount

int nw4hbm::snd::detail::StrmBufferPool::mBlockCount
private

◆ mBlockSize

u32 nw4hbm::snd::detail::StrmBufferPool::mBlockSize
private

◆ mBuffer

void* nw4hbm::snd::detail::StrmBufferPool::mBuffer
private

◆ mBufferSize

u32 nw4hbm::snd::detail::StrmBufferPool::mBufferSize
private

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