menu
 
Version
2018.1.11.6987

2024.1.3.8749

2023.1.11.8682

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Wwise SDK 2018.1.11
AkBankReadHelpers.h File Reference

Go to the source code of this file.

Macros

#define  READBANKDATA(_Type, _Ptr, _Size)   ReadBankData<_Type>( _Ptr )
  Read and return bank data of a given type, incrementing running pointer and decrementing block size for debug tracking purposes. More...
 
#define  READVARIABLESIZEBANKDATA(_Type, _Ptr, _Size)   ReadVariableSizeBankData<_Type>( _Ptr )
 
#define  READBANKSTRING_UTF8(_Ptr, _Size, _out_StringSize)   ReadBankStringUtf8( _Ptr, _out_StringSize )
 
#define  READBANKSTRING(_Ptr, _Size, _out_StringSize)   ReadBankStringUtf8( _Ptr, _out_StringSize )
 
#define  SKIPBANKDATA(_Type, _Ptr, _Size)   ( _Ptr ) += sizeof( _Type )
  Skip over some bank data of a given type, incrementing running pointer and decrementing block size for debug tracking purposes. More...
 
#define  SKIPBANKBYTES(_NumBytes, _Ptr, _Size)   ( _Ptr ) += _NumBytes;
  Skip over some bank data by a given size in bytes, incrementing running pointer and decrementing block size for debug tracking purposes. More...
 
#define  GETBANKDATABIT(_Data, _Shift)   (((_Data) >> (_Shift)) & 0x1)
 
#define  CHECKBANKDATASIZE(_DATASIZE_, _ERESULT_)
  Helper macro to determine whether the full content of a block of memory was properly parsed. More...
 

Functions

template<typename T >
ReadBankData (AkUInt8 *&in_rptr)
  Read data from bank and advance pointer. More...
 
template<typename T >
ReadVariableSizeBankData (AkUInt8 *&in_rptr)
 
char *  ReadBankStringUtf8 (AkUInt8 *&in_rptr, AkUInt32 &out_uStringSize)
 
template<typename T >
ReadUnaligned (const AkUInt8 *in_rptr, AkUInt32 in_bytesToSkip=0)
  Read unaligned memory, const version. More...
 

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise