nCine 2026.08.r1-e9a2342
A cross-platform 2D game engine
Loading...
Searching...
No Matches
ncine::AppConfiguration::Audio Struct Reference

Audio related configuration. More...

#include <AppConfiguration.h>

Public Attributes

bool enabled = true
 Enables the audio subsystem.
 
unsigned int frequency = 0
 The output frequency of the audio system.
 
unsigned int monoSources = 31
 The number of mono audio sources.
 
unsigned int stereoSources = 1
 The number of stereo audio sources.
 

Detailed Description

Audio related configuration.

Member Data Documentation

◆ frequency

unsigned int ncine::AppConfiguration::Audio::frequency = 0

The output frequency of the audio system.

Note
Set this value to zero for the default output frequency of the device.

◆ monoSources

unsigned int ncine::AppConfiguration::Audio::monoSources = 31

The number of mono audio sources.

Note
Set this value to zero to request the default number of mono audio sources.

◆ stereoSources

unsigned int ncine::AppConfiguration::Audio::stereoSources = 1

The number of stereo audio sources.

Note
Set this value to zero to request the default number of stereo audio sources.

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