| 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 | { |