Commit 352f45f
committed
fix: fix audio device switching and mute synchronization issues
1. Added proper disconnection of previous DBus sink interface before
creating new one to prevent signal conflicts
2. Fixed device activation timing issue by manually refreshing device
list before setting active port
3. Changed mute handling logic to automatically set mute when volume
reaches 0
4. Removed automatic unmute on volume change to prevent inconsistent
state
Log: Fixed audio device switching issues and improved mute/volume
synchronization
Influence:
1. Test audio device switching between different output devices
2. Verify mute state synchronization when volume is set to 0
3. Test volume adjustment while muted/unmuted
4. Check for any signal conflicts during device switching
5. Verify device list refresh works correctly on specific hardware
models
fix: 修复音频设备切换和静音同步问题
1. 在创建新的DBus接收器接口前正确断开之前的连接,防止信号冲突
2. 通过手动刷新设备列表再设置活动端口,修复设备激活时序问题
3. 修改静音处理逻辑,当音量达到0时自动设置静音
4. 移除音量变化时的自动取消静音,防止状态不一致
Log: 修复音频设备切换问题并改进静音/音量同步
Influence:
1. 测试不同输出设备之间的音频设备切换
2. 验证音量设为0时的静音状态同步
3. 测试静音/取消静音状态下的音量调整
4. 检查设备切换过程中是否有信号冲突
5. 验证特定硬件型号上的设备列表刷新功能
PMS: BUG-3500571 parent 9b025ed commit 352f45f
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
91 | | - | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
98 | | - | |
| 101 | + | |
99 | 102 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
| |||
0 commit comments