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

#include <StrmFile.h>

+ Collaboration diagram for nw4hbm::snd::detail::StrmFileLoader:

Public Member Functions

 StrmFileLoader (ut::FileStream &rFileStream)
 
bool LoadFileHeader (void *buffer, u32 size)
 
bool ReadAdpcBlockData (u16 *yn1, u16 *yn2, int block, int channels)
 
bool ReadStrmInfo (StrmInfo *strmInfo) const
 
bool ReadAdpcmInfo (AdpcmInfo *adpcmInfo, int channel) const
 

Private Attributes

ut::FileStreammStream
 
StrmFileReader mReader
 

Static Private Attributes

static const int HEADER_ALIGNED_SIZE = OSRoundUp32B(sizeof(StrmFile::Header))
 

Constructor & Destructor Documentation

◆ StrmFileLoader()

nw4hbm::snd::detail::StrmFileLoader::StrmFileLoader ( ut::FileStream & rFileStream)
inlineexplicit

Member Function Documentation

◆ LoadFileHeader()

bool nw4hbm::snd::detail::StrmFileLoader::LoadFileHeader ( void * buffer,
u32 size )

◆ ReadAdpcBlockData()

bool nw4hbm::snd::detail::StrmFileLoader::ReadAdpcBlockData ( u16 * yn1,
u16 * yn2,
int block,
int channels )

◆ ReadAdpcmInfo()

bool nw4hbm::snd::detail::StrmFileLoader::ReadAdpcmInfo ( AdpcmInfo * adpcmInfo,
int channel ) const
inline

◆ ReadStrmInfo()

bool nw4hbm::snd::detail::StrmFileLoader::ReadStrmInfo ( StrmInfo * strmInfo) const
inline

Member Data Documentation

◆ HEADER_ALIGNED_SIZE

const int nw4hbm::snd::detail::StrmFileLoader::HEADER_ALIGNED_SIZE = OSRoundUp32B(sizeof(StrmFile::Header))
staticprivate

◆ mReader

StrmFileReader nw4hbm::snd::detail::StrmFileLoader::mReader
private

◆ mStream

ut::FileStream& nw4hbm::snd::detail::StrmFileLoader::mStream
private

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