Game Audio Module
A C++ audio system using miniaudio with Python bindings
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
audio Namespace Reference

Classes

class  AudioException
 Exception thrown when an audio operation fails. More...
 
class  AudioGroup
 Controls multiple sounds as a single unit. More...
 
class  AudioManager
 Central manager for all audio functionality. More...
 
class  AudioSession
 RAII wrapper that initializes audio on construction and shuts down on destruction. More...
 
class  AudioSystem
 Low-level audio system that interfaces directly with miniaudio. More...
 
class  AudioTrack
 Manages a collection of synchronized audio layers. More...
 
class  FileLoadException
 Exception thrown when a file cannot be loaded. More...
 
struct  GroupHandle
 Strongly typed handle for audio groups. More...
 
class  InvalidHandleException
 Exception thrown when an invalid handle is used. More...
 
class  Logger
 Global logger for the audio module (runtime level control). More...
 
class  NotInitializedException
 Exception thrown when the audio system is not initialized. More...
 
class  RandomSoundContainer
 Container for playing randomized sounds with pitch variation. More...
 
struct  RandomSoundContainerConfig
 Configuration for a random sound container. More...
 
class  Sound
 Represents an audio file that can be played multiple times simultaneously. More...
 
struct  SoundHandle
 Strongly typed handle for individual sounds. More...
 
struct  SoundInstance
 Represents a single instance of a playing sound. More...
 
struct  TrackHandle
 Opaque handle types for audio objects. More...
 
struct  Vec3
 3D vector for spatial audio positioning More...
 

Enumerations

enum class  LogLevel {
  Off = 0 , Error = 1 , Warn = 2 , Info = 3 ,
  Debug = 4
}
 Log severity levels for audio diagnostics. More...
 

Functions

Vec3 Cross (const Vec3 &a, const Vec3 &b)
 Cross product of two vectors.
 
float Dot (const Vec3 &a, const Vec3 &b)
 Dot product of two vectors.
 

Enumeration Type Documentation

◆ LogLevel

enum class audio::LogLevel
strong

Log severity levels for audio diagnostics.

Logging defaults to Off at runtime. Use set_log_level() to enable.

Enumerator
Off 

Disable all logging.

Error 

Fatal failures and unrecoverable errors.

Warn 

Recoverable or unusual conditions.

Info 

High-level lifecycle and state transitions.

Debug 

Detailed diagnostics (noisy)

Function Documentation

◆ Cross()

Vec3 audio::Cross ( const Vec3 a,
const Vec3 b 
)
inline

Cross product of two vectors.

Parameters
aFirst vector
bSecond vector
Returns
Vec3 Cross product

◆ Dot()

float audio::Dot ( const Vec3 a,
const Vec3 b 
)
inline

Dot product of two vectors.

Parameters
aFirst vector
bSecond vector
Returns
float Dot product