private void PlatformDispose(bool disposing) { // When disposing a SoundEffectInstance, the Sound should // just be stopped as it will likely be reused later if (streamId != 0) { s_soundPool.Stop(streamId); streamId = 0; } } }