CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::AudioAPIBufferDescriptor Struct Referencefinal

#include <CeresEngine/Audio/API/Buffer.hpp>

Public Attributes

UInt32 frequency = 44100
 The buffer's data frequency in Hz.
 
UInt8 bitDepth = 8
 The buffer's bit depth.
 
UInt8 channels = 1
 The buffer's number of channels.
 
UInt32 size = 0
 The buffer's size in bytes.
 
voiddata = nullptr
 The data to be used when allocating the buffer.
 

Member Data Documentation

◆ bitDepth

UInt8 CeresEngine::AudioAPIBufferDescriptor::bitDepth = 8

The buffer's bit depth.

◆ channels

UInt8 CeresEngine::AudioAPIBufferDescriptor::channels = 1

The buffer's number of channels.

> 1 is valid, but buffer won’t be positioned when played.

◆ data

void* CeresEngine::AudioAPIBufferDescriptor::data = nullptr

The data to be used when allocating the buffer.

◆ frequency

UInt32 CeresEngine::AudioAPIBufferDescriptor::frequency = 44100

The buffer's data frequency in Hz.

◆ size

UInt32 CeresEngine::AudioAPIBufferDescriptor::size = 0

The buffer's size in bytes.


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