dispose method
Releases the audio resources held by this sound and resets its state.
Implementation
dispose() {
bufferHandle?.dispose();
bufferHandle = null;
state = LoadingState.none;
}
Releases the audio resources held by this sound and resets its state.
dispose() {
bufferHandle?.dispose();
bufferHandle = null;
state = LoadingState.none;
}