My Project
Loading...
Searching...
No Matches
EI::VoiceParams Struct Reference

Parameters used to control a playing sound instance. More...

#include <AudioTypes.hpp>

Public Attributes

float volume = 1.0f
 Playback volume (0..1+).
float pitch = 1.0f
 Playback pitch (1.0 = normal speed).
float pan = 0.0f
 Stereo panning for 2D sounds (-1 = left, +1 = right).
bool loop = false
 Indicates if the sound should loop.

Detailed Description

Parameters used to control a playing sound instance.

Member Data Documentation

◆ loop

bool EI::VoiceParams::loop = false

Indicates if the sound should loop.

◆ pan

float EI::VoiceParams::pan = 0.0f

Stereo panning for 2D sounds (-1 = left, +1 = right).

◆ pitch

float EI::VoiceParams::pitch = 1.0f

Playback pitch (1.0 = normal speed).

◆ volume

float EI::VoiceParams::volume = 1.0f

Playback volume (0..1+).


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