group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
SfxSystem::Source Struct Reference
Collaboration diagram for SfxSystem::Source:
[legend]

Public Attributes

bool active = false
bool loop = false
bool positional = false
bool voiceStream = false
SfxId playingId = SfxId::_Count
 Which sound this voice is playing.
SourceHandle handle = kInvalidSource
ClientId speaker {}
float cursor = 0.0f
float gain = 1.0f
float priority = 1.0f
audio::AudioBusId bus {}
float busGain = 1.0f
std::uint16_t maxInstances = 0
std::uint16_t maxBusInstances = 0
float fullGainDistance = audio::k_fullGainDistance
float silentDistance = audio::k_silentDistance
float age = 0.0f
float lowPassStateL = 0.0f
float lowPassStateR = 0.0f
std::uint16_t newestVoiceSeq = 0
bool hasVoiceSeq = false
bool occluded = false
glm::vec3 position {0.0f}
glm::vec3 velocity {0.0f}
std::vector< float > voicePcm
std::size_t voiceReadFrame = 0

Member Data Documentation

◆ active

bool SfxSystem::Source::active = false

◆ age

float SfxSystem::Source::age = 0.0f

◆ bus

audio::AudioBusId SfxSystem::Source::bus {}

◆ busGain

float SfxSystem::Source::busGain = 1.0f

◆ cursor

float SfxSystem::Source::cursor = 0.0f

◆ fullGainDistance

float SfxSystem::Source::fullGainDistance = audio::k_fullGainDistance

◆ gain

float SfxSystem::Source::gain = 1.0f

◆ handle

SourceHandle SfxSystem::Source::handle = kInvalidSource

◆ hasVoiceSeq

bool SfxSystem::Source::hasVoiceSeq = false

◆ loop

bool SfxSystem::Source::loop = false

◆ lowPassStateL

float SfxSystem::Source::lowPassStateL = 0.0f

◆ lowPassStateR

float SfxSystem::Source::lowPassStateR = 0.0f

◆ maxBusInstances

std::uint16_t SfxSystem::Source::maxBusInstances = 0

◆ maxInstances

std::uint16_t SfxSystem::Source::maxInstances = 0

◆ newestVoiceSeq

std::uint16_t SfxSystem::Source::newestVoiceSeq = 0

◆ occluded

bool SfxSystem::Source::occluded = false

◆ playingId

SfxId SfxSystem::Source::playingId = SfxId::_Count

Which sound this voice is playing.

◆ position

glm::vec3 SfxSystem::Source::position {0.0f}

◆ positional

bool SfxSystem::Source::positional = false

◆ priority

float SfxSystem::Source::priority = 1.0f

◆ silentDistance

float SfxSystem::Source::silentDistance = audio::k_silentDistance

◆ speaker

ClientId SfxSystem::Source::speaker {}

◆ velocity

glm::vec3 SfxSystem::Source::velocity {0.0f}

◆ voicePcm

std::vector<float> SfxSystem::Source::voicePcm

◆ voiceReadFrame

std::size_t SfxSystem::Source::voiceReadFrame = 0

◆ voiceStream

bool SfxSystem::Source::voiceStream = false

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