ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
Loading...
Searching...
No Matches
anonymous_namespace{sound.cpp}::Voice Struct Reference
Collaboration diagram for anonymous_namespace{sound.cpp}::Voice:
[legend]

Classes

struct  Sent
 

Public Attributes

MIX_Track * track = nullptr
 
uint32_t generation = 0
 
bool positional = false
 
asw::Vec2< float > position
 
asw::Vec2< float > velocity
 
asw::sound::Attenuation attenuation
 
float volume = 1.0F
 
float pan = 0.0F
 
float pitch = 1.0F
 
float occlusion = 0.0F
 
asw::sound::Bus bus = asw::sound::Bus::Sfx
 
int priority = 0
 
float effective_gain = 0.0F
 
struct anonymous_namespace{sound.cpp}::Voice::Sent sent
 
LowPass filter
 

Detailed Description

Definition at line 35 of file sound.cpp.

Member Data Documentation

◆ attenuation

asw::sound::Attenuation anonymous_namespace{sound.cpp}::Voice::attenuation

Definition at line 42 of file sound.cpp.

◆ bus

asw::sound::Bus anonymous_namespace{sound.cpp}::Voice::bus = asw::sound::Bus::Sfx

Definition at line 48 of file sound.cpp.

◆ effective_gain

float anonymous_namespace{sound.cpp}::Voice::effective_gain = 0.0F

Definition at line 52 of file sound.cpp.

◆ filter

LowPass anonymous_namespace{sound.cpp}::Voice::filter

Definition at line 65 of file sound.cpp.

◆ generation

uint32_t anonymous_namespace{sound.cpp}::Voice::generation = 0

Definition at line 37 of file sound.cpp.

◆ occlusion

float anonymous_namespace{sound.cpp}::Voice::occlusion = 0.0F

Definition at line 47 of file sound.cpp.

◆ pan

float anonymous_namespace{sound.cpp}::Voice::pan = 0.0F

Definition at line 45 of file sound.cpp.

◆ pitch

float anonymous_namespace{sound.cpp}::Voice::pitch = 1.0F

Definition at line 46 of file sound.cpp.

◆ position

asw::Vec2<float> anonymous_namespace{sound.cpp}::Voice::position

Definition at line 40 of file sound.cpp.

◆ positional

bool anonymous_namespace{sound.cpp}::Voice::positional = false

Definition at line 39 of file sound.cpp.

◆ priority

int anonymous_namespace{sound.cpp}::Voice::priority = 0

Definition at line 49 of file sound.cpp.

◆ sent

struct anonymous_namespace{sound.cpp}::Voice::Sent anonymous_namespace{sound.cpp}::Voice::sent

◆ track

MIX_Track* anonymous_namespace{sound.cpp}::Voice::track = nullptr

Definition at line 36 of file sound.cpp.

◆ velocity

asw::Vec2<float> anonymous_namespace{sound.cpp}::Voice::velocity

Definition at line 41 of file sound.cpp.

◆ volume

float anonymous_namespace{sound.cpp}::Voice::volume = 1.0F

Definition at line 44 of file sound.cpp.


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