Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.8
AkRingBuffer< T, TAlloc > Class Template Reference

#include <AkRingBuffer.h>

Public Member Functions

 AkRingBuffer ()
 
AKRESULT Init (AkUInt32 nbItems)
 
void Term ()
 
void Reset ()
 
AkUInt32 GetWriteIndex () const
 
T * GetWritePtr ()
 
void IncrementWriteIndex (AkUInt32 nbItems)
 
AkUInt32 GetReadIndex () const
 
const T * GetReadPtr () const
 
const T * Peek (AkUInt32 uOffset) const
 
void IncrementReadIndex (AkUInt32 nbItems)
 
AkUInt32 GetNbReadableItems () const
 
AkUInt32 GetNbWritableItems () const
 
AkUInt32 Size () const
 
bool Grow (AkUInt32 in_uGrowBy)
 

Detailed Description

template<class T, class TAlloc = AkRingBufferAllocatorDefault>
class AkRingBuffer< T, TAlloc >

Definition at line 68 of file AkRingBuffer.h.


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