Closed JarbasAl closed 2 months ago
The update to the AudioPlayer
class in ovos_audio/audio.py
introduces mechanisms to ensure the volume is restored and a specific flag is reset when audio playback stops. This enhancement improves the management of audio state, ensuring a more consistent user experience.
File | Change Summary |
---|---|
ovos_audio/audio.py |
Added logic to restore volume and reset a flag when stopping audio playback. |
In the realm of sound and code, A player halts, its story told. Volume set back, flags reset, Ensuring harmony is met. 🎵🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
when stopping a audio service self.current is set to None, we lose the reference and are unable to restore volume because of that (race condition)
ensure that when we stop a audio service we restore the default volume
Summary by CodeRabbit