The restore_volume would previously unpause the service even if the user just asked for pausing playback. This separates the paused flag from the pausing/resuming action so lowering/restoring volume doesn't affect the logical pausing state and can check it to determine if lowering/restoring is needed/wanted. |
||
---|---|---|
.. | ||
services | ||
__init__.py | ||
__main__.py | ||
audioservice.py | ||
speech.py |