Skip to content

[linux] 启动和退出导致系统弹出音量调节界面 #968

Description

@aeoform

现象

原因是这样的:

打开时弹 1 次

OpenLess 启动时创建了 1 个音频流(麦克风输入录音流),PipeWire 检测到新流加入 → KDE Plasma 弹出音量 OSD。

退出时弹 2 次

OpenLess 退出时释放了 2 个音频资源:

  1. 麦克风录音流(input stream)被销毁 → PipeWire 重新评估路由 → OSD 弹出一次
  2. 播放流(sink-input,就是 pactl 里看到的那个 WebKitWebProcess 100% 的流)被销毁 → 默认 sink 可能从 RUNNING 变回
    SUSPENDED,系统重新应用音量 → OSD 再弹一次

简单说就是:打开时建 1 个流,退出时拆 2 个流,每次音频拓扑变化 KDE 都会弹一次 OSD。

影响

没意义

建议接受标准

取消弹出

TODO / 不确定项

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions