void OnDisable() { decoder.Dispose(); decoder = null; }
void OnEnable() { decoder = new UnityOpus.Decoder( UnityOpus.SamplingFrequency.Frequency_48000, UnityOpus.NumChannels.Mono); }