Fix for playing tone in audio-provider.