MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetSource

Function GetSource

Source/Engine/Audio/XAudio2/AudioBackendXAudio2.cpp:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 EngineCallback Callback;
161
162 Source* GetSource(uint32 sourceID)
163 {
164 if (sourceID == 0)
165 return nullptr;
166 return &Sources[sourceID - 1]; // 0 is invalid ID so shift them
167 }
168
169 void MarkAllDirty()
170 {

Callers 15

OnBufferEndMethod · 0.85
PeekSamplesMethod · 0.85
Source_RemoveMethod · 0.85
Source_VolumeChangedMethod · 0.85
Source_PitchChangedMethod · 0.85
Source_PanChangedMethod · 0.85
Source_PlayMethod · 0.85
Source_PauseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected