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

Method Init

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

Source from the content-addressed store, hash-verified

102 }
103
104 void Init()
105 {
106 Voice = nullptr;
107 Destination.Flags = 0;
108 Destination.pOutputVoice = nullptr;
109 Pitch = 1.0f;
110 Pan = 0.0f;
111 StartTimeForQueueBuffer = 0.0f;
112 LastBufferStartTime = 0.0f;
113 IsDirty = false;
114 Is3D = false;
115 IsPlaying = false;
116 IsLoop = false;
117 LastBufferID = 0;
118 LastBufferStartSamplesPlayed = 0;
119 BuffersProcessed = 0;
120 }
121
122 bool IsFree() const
123 {

Callers 1

Source_RemoveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected