Commit ee86167
perf(sound): remove blocking delay in audio device switching
Remove the 200ms blocking sleep (QThread::msleep) that was originally
used for debouncing multiple signals during device switching. Analysis
shows that valid signals arrive with sufficient intervals (>250ms),
making the blocking delay unnecessary and harmful to UI responsiveness.
移除音频设备切换中的阻塞延迟
移除原本用于防抖多个信号的 200ms 阻塞延迟(QThread::msleep)。
分析表明有效信号到达的间隔已足够大(>250ms),使得阻塞延迟既不必要
又损害 UI 响应速度。
Log: remove blocking delay in audio device switching
PMS: BUG-2959291 parent a858879 commit ee86167
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
0 commit comments