Skip to content

feat(audio1): add AI noise reduction support#1172

Open
MyLeeJiEun wants to merge 1 commit into
linuxdeepin:masterfrom
MyLeeJiEun:fork-from-master-0702-feature-ai-noise
Open

feat(audio1): add AI noise reduction support#1172
MyLeeJiEun wants to merge 1 commit into
linuxdeepin:masterfrom
MyLeeJiEun:fork-from-master-0702-feature-ai-noise

Conversation

@MyLeeJiEun

Copy link
Copy Markdown
Contributor
  1. Added AiReduceNoise and AiNoiseSourcePath D-Bus properties for toggling AI noise reduction
  2. Implemented writeAiReduceNoise callback and DConfig persistence for AI noise reduction state
  3. Added rnnoise virtual source handling: skip port check, prevent auto-switch when active
  4. Added GetDefaultInputPortAnyCard() helper for AI noise recovery across cards
  5. Registered CheckPort method for Meter and SinkInput in D-Bus export
  6. Added aiReduceNoiseEnabled DConfig key for global AI noise reduction setting

Log: Add AI noise reduction feature with D-Bus properties, DConfig persistence, and rnnoise virtual source handling

feat(audio1): 添加 AI 降噪功能支持

  1. 添加 AiReduceNoise 和 AiNoiseSourcePath D-Bus 属性用于开关 AI 降噪
  2. 实现 writeAiReduceNoise 回调及 DConfig 持久化 AI 降噪状态
  3. 添加 rnnoise 虚拟声源处理:跳过端口检查,开启时阻止自动切换
  4. 添加 GetDefaultInputPortAnyCard() 辅助方法用于跨声卡恢复 AI 降噪
  5. 为 Meter 和 SinkInput 注册 CheckPort 方法到 D-Bus 导出
  6. 添加 aiReduceNoiseEnabled DConfig 键用于全局 AI 降噪设置

Log: 新增 AI 降噪功能,包含 D-Bus 属性、DConfig 持久化及 rnnoise 虚拟声源处理
PMS: STORY-41229

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @MyLeeJiEun, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: MyLeeJiEun

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-ci-robot

Copy link
Copy Markdown

Hi @MyLeeJiEun. Thanks for your PR.

I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

1. Added AiReduceNoise and AiNoiseSourcePath D-Bus properties for toggling AI noise reduction
2. Implemented writeAiReduceNoise callback and DConfig persistence for AI noise reduction state
3. Added rnnoise virtual source handling: skip port check, prevent auto-switch when active
4. Added GetDefaultInputPortAnyCard() helper for AI noise recovery across cards
5. Registered CheckPort method for Meter and SinkInput in D-Bus export
6. Added aiReduceNoiseEnabled DConfig key for global AI noise reduction setting

Log: Add AI noise reduction feature with D-Bus properties, DConfig persistence, and rnnoise virtual source handling

feat(audio1): 添加 AI 降噪功能支持

1. 添加 AiReduceNoise 和 AiNoiseSourcePath D-Bus 属性用于开关 AI 降噪
2. 实现 writeAiReduceNoise 回调及 DConfig 持久化 AI 降噪状态
3. 添加 rnnoise 虚拟声源处理:跳过端口检查,开启时阻止自动切换
4. 添加 GetDefaultInputPortAnyCard() 辅助方法用于跨声卡恢复 AI 降噪
5. 为 Meter 和 SinkInput 注册 CheckPort 方法到 D-Bus 导出
6. 添加 aiReduceNoiseEnabled DConfig 键用于全局 AI 降噪设置

Log: 新增 AI 降噪功能,包含 D-Bus 属性、DConfig 持久化及 rnnoise 虚拟声源处理
PMS: STORY-41229
@MyLeeJiEun MyLeeJiEun force-pushed the fork-from-master-0702-feature-ai-noise branch from 23f2239 to c5f2cf6 Compare July 9, 2026 08:30
@deepin-bot

deepin-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

TAG Bot

New tag: 6.1.100
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1173

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants