Commit a45c550
committed
fix: resolve audio service stop issue during logout
Previously, stopping audio service was handled asynchronously through
direct service commands, which didn't guarantee immediate termination.
This caused ALSA to remain occupied when playing logout sound effects,
leading to playback failures. The fix replaces this with a synchronous
call to the backend's StopAudioService method to ensure proper audio
service termination before logout sound playback.
Log: Fixed issue where logout sound effects failed to play due to audio
service still running
Influence:
1. Test logout sound effects playback during system logout
2. Verify audio service properly terminates before sound playback
3. Check system stability during logout sequence
4. Test with different audio backends (ALSA, PipeWire)
fix: 解决注销时音频服务停止问题
之前通过直接服务命令异步停止音频服务,无法保证立即终止。这导致播
放注销音效时ALSA仍处于占用状态,造成播放失败。现改为同步调用后端的
StopAudioService方法,确保在播放注销音效前正确终止音频服务。
Log: 修复了由于音频服务仍在运行导致注销音效播放失败的问题
PMS: BUG-315787
Influence:
1. 测试系统注销时的注销音效播放
2. 验证音频服务在声音播放前正确终止
3. 检查注销序列中的系统稳定性
4. 使用不同音频后端(ALSA, PipeWire)进行测试1 parent 1c0fa23 commit a45c550
1 file changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
648 | 642 | | |
649 | 643 | | |
650 | 644 | | |
| |||
0 commit comments