Kohi Game Engine
kaudio_backend_config Struct Reference

The configuration for an audio backend. More...

#include <kaudio_types.h>

Data Fields

u32 frequency
 The frequency to output audio at (i.e. 44100). More...
 
u32 channel_count
 The number of audio channels to support (i.e. 2 for stereo, 1 for mono). not to be confused with audio_channel_count below. More...
 
u32 chunk_size
 
u32 audio_channel_count
 The number of separately-controlled channels used for mixing purposes. Each channel can have its volume independently controlled. Not to be confused with channel_count above. More...
 
u16 max_count
 The maximum number of kaudios (sounds or music) that can be loaded at once. More...
 

Detailed Description

The configuration for an audio backend.

Field Documentation

◆ audio_channel_count

u32 audio_channel_count

The number of separately-controlled channels used for mixing purposes. Each channel can have its volume independently controlled. Not to be confused with channel_count above.

◆ channel_count

u32 channel_count

The number of audio channels to support (i.e. 2 for stereo, 1 for mono). not to be confused with audio_channel_count below.

◆ chunk_size

u32 chunk_size

The size to chunk streamed audio data in.

◆ frequency

u32 frequency

The frequency to output audio at (i.e. 44100).

◆ max_count

u16 max_count

The maximum number of kaudios (sounds or music) that can be loaded at once.


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