Skip to content

feat: add macOS audio setup and mic recovery in FAQs#16

Open
WhatDamon wants to merge 3 commits into
MicYou-Dev:mainfrom
WhatDamon:main
Open

feat: add macOS audio setup and mic recovery in FAQs#16
WhatDamon wants to merge 3 commits into
MicYou-Dev:mainfrom
WhatDamon:main

Conversation

@WhatDamon
Copy link
Copy Markdown
Contributor

@WhatDamon WhatDamon commented May 23, 2026

Description

Brief description of changes

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactoring

Checklist

  • Tested locally
  • Updated all language versions
  • Updated sidebar config (if needed)

Summary by Sourcery

在所有常见问题(FAQ)语言版本中,补充与现有 Windows 指南配套的 macOS 专用音频配置与故障排除步骤。

文档:

  • 在所有本地化 FAQ 中,新增 macOS 环境下,当连接后没有音频输出时配置 BlackHole 输入的说明。
  • 在所有本地化 FAQ 中,记录 macOS 上内置麦克风在退出应用后无法使用时的表现,以及手动恢复步骤。
Original summary in English

Summary by Sourcery

Document macOS-specific audio configuration and troubleshooting steps alongside existing Windows guidance in all FAQ language versions.

Documentation:

  • Add macOS instructions for configuring BlackHole input when there is no audio output after connecting, across all localized FAQs.
  • Document macOS behavior and manual recovery steps when the built-in microphone does not work after exiting the app, across all localized FAQs.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 23, 2026

审阅者指南

在 FAQ 中新增了 macOS 专用的疑难解答和音频设置说明,与现有的 Windows 内容并列,包括 BlackHole 驱动安装指引,以及在简体中文、英文和繁体中文文档中关于手动选择麦克风/输入设备的说明。

FAQ 中 macOS 音频疑难解答步骤流程图

flowchart TD
    A[macOS 用户:无声音或麦克风问题] --> B{问题类型?}
    B --> C[连接后没有声音]
    B --> H[退出后内建麦克风无法使用]

    C --> D{是否已安装 BlackHole 驱动?}
    D -->|否| E[安装 BlackHole 驱动]
    E --> F[打开 系统设置/系统偏好设置 > 声音 > 输入]
    D -->|是| F
    F --> G[将输入设备设置为 BlackHole]

    H --> I{是否已安装 switchaudio_osx?}
    I -->|未安装或应用异常退出| J[打开 系统设置/系统偏好设置 > 声音 > 输入]
    J --> K[将输入设备设置为内建或设备麦克风]
    I -->|已安装| L[正常退出后麦克风应自动恢复]
Loading

文件级变更

变更 详情 文件
将现有“连接后无音频输出”的 FAQ 拆分为按操作系统区分的小节,并澄清现有步骤适用于 Windows。
  • 在“连接后无音频输出”章节下新增 “Windows” 小节。
  • 将现有 VB-Audio 驱动疑难解答步骤保留在新的 Windows 小节下。
  • 保留并重新挂接现有输入/输出设备截图到 Windows 小节下。
src/docs/faq.md
src/en/docs/faq.md
添加 macOS 专用疑难解答步骤,用于在连接后无音频输出时将 BlackHole 设置为输入设备。
  • 在各语言的“连接后无音频输出”章节下新增 “macOS” 小节。
  • 说明必须安装 BlackHole,以及在未安装 switchaudio-osx 时如何通过系统声音设置手动将其设为输入设备。
  • 添加各语言版本的 macOS 声音输入设置截图。
src/docs/faq.md
src/en/docs/faq.md
src/zh-TW/docs/faq.md
记录 macOS 在退出应用后内建麦克风可能不会自动恢复的行为,以及如何恢复。
  • 新增 FAQ 章节,说明在缺少 switchaudio-osx 或应用异常退出时,内建麦克风可能不会自动恢复。
  • 按语言变体提供通过 macOS 声音设置将声音输入重置为设备麦克风的手动步骤。
src/docs/faq.md
src/en/docs/faq.md
src/zh-TW/docs/faq.md
在简体中文、英文和繁体中文文档中一致地本地化新增的 macOS 相关 FAQ 内容。
  • 确保三种语言版本中都有等价的 macOS 小节和操作说明。
  • 在各语言版本中使用本地化的 macOS 声音设置界面文案和截图。
src/docs/faq.md
src/en/docs/faq.md
src/zh-TW/docs/faq.md

技巧与命令

与 Sourcery 交互

  • 触发新的审阅: 在 Pull Request 中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的审阅评论。
  • 从审阅评论生成 GitHub Issue: 通过回复某条审阅评论来让 Sourcery 从该评论创建一个 Issue。你也可以在审阅评论下回复 @sourcery-ai issue 来从该评论创建 Issue。
  • 生成 Pull Request 标题: 在 Pull Request 标题的任意位置写上 @sourcery-ai,即可随时生成标题。你也可以在 Pull Request 中评论 @sourcery-ai title 来(重新)生成标题。
  • 生成 Pull Request 摘要: 在 Pull Request 正文的任意位置写上 @sourcery-ai summary,即可在指定位置生成 PR 摘要。你也可以在 Pull Request 中评论 @sourcery-ai summary 来在任意时间(重新)生成摘要。
  • 生成审阅者指南: 在 Pull Request 中评论 @sourcery-ai guide,即可在任意时间(重新)生成审阅者指南。
  • 一次性解决所有 Sourcery 评论: 在 Pull Request 中评论 @sourcery-ai resolve,即可将所有 Sourcery 评论标记为已解决。如果你已经处理完所有评论且不希望再看到它们,这将非常有用。
  • 一次性忽略所有 Sourcery 审阅: 在 Pull Request 中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 审阅。若你希望以一次全新的审阅开始,这将尤其有用——别忘了评论 @sourcery-ai review 来触发新的审阅!

自定义使用体验

访问你的 控制台 以:

  • 启用或禁用诸如 Sourcery 自动生成的 Pull Request 摘要、审阅者指南等审阅功能。
  • 更改审阅语言。
  • 添加、删除或编辑自定义审阅指令。
  • 调整其他审阅设置。

获取帮助

Original review guide in English

Reviewer's Guide

Adds macOS-specific troubleshooting and audio setup instructions alongside existing Windows content in the FAQ, including guidance for BlackHole driver setup and manual microphone/input selection across Simplified Chinese, English, and Traditional Chinese documentation.

Flow diagram for macOS audio troubleshooting steps in FAQ

flowchart TD
    A[macOS user: No audio or mic issue] --> B{Issue type?}
    B --> C[No audio after connecting]
    B --> H[Builtin mic not working after exit]

    C --> D{BlackHole driver installed?}
    D -->|No| E[Install BlackHole driver]
    E --> F[Open System Settings/System Preferences > Sound > Input]
    D -->|Yes| F
    F --> G[Set input device to BlackHole]

    H --> I{switchaudio_osx installed?}
    I -->|No or app exited abnormally| J[Open System Settings/System Preferences > Sound > Input]
    J --> K[Set input device to builtin or device microphone]
    I -->|Yes| L[Mic should auto revert after normal exit]
Loading

File-Level Changes

Change Details Files
Split existing 'no audio output after connecting' FAQ into OS-specific sections and clarify that the existing steps apply to Windows.
  • Introduce a 'Windows' subsection under the 'No audio output after connecting' section.
  • Keep existing VB-Audio driver troubleshooting steps under the new Windows subsection.
  • Retain and re-anchor existing input/output device screenshots under the Windows subsection.
src/docs/faq.md
src/en/docs/faq.md
Add macOS-specific troubleshooting steps for setting BlackHole as the input device when there is no audio output after connecting.
  • Add a 'macOS' subsection under the 'No audio output after connecting' section in each language.
  • Explain that BlackHole must be installed and how to manually set it as the input device via system sound settings when switchaudio-osx is not installed.
  • Add language-specific screenshots showing macOS sound input settings.
src/docs/faq.md
src/en/docs/faq.md
src/zh-TW/docs/faq.md
Document macOS behavior where the built-in microphone may not recover automatically after exiting the app and how to restore it.
  • Add a new FAQ section describing that the built-in microphone may not revert if switchaudio-osx is missing or the app exits abnormally.
  • Provide manual steps for resetting the sound input to the device microphone via macOS sound settings, per language variant.
src/docs/faq.md
src/en/docs/faq.md
src/zh-TW/docs/faq.md
Localize new macOS-related FAQ content consistently across Simplified Chinese, English, and Traditional Chinese docs.
  • Ensure equivalent macOS sections and instructions exist in all three language variants.
  • Use localized UI labels and screenshots for macOS sound settings in each language version.
src/docs/faq.md
src/en/docs/faq.md
src/zh-TW/docs/faq.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - 我发现了 3 个问题

面向 AI 代理的提示
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="src/docs/faq.md" line_range="83" />
<code_context>
+
+请确保 BlackHole 驱动已正确安装!
+
+若未安装 `switchaudio-osx` 您需要手动在 「系统设置」/「系统偏好设置」>「声音」>「输入」改为 BlackHole
+
+![输入设备](/macos-sound-zhcn.png)
</code_context>
<issue_to_address>
**suggestion (typo):** 建议在条件从句后添加一个逗号,使中文语句更加通顺自然。

在“若未安装 `switchaudio-osx`”后添加逗号(即“若未安装 `switchaudio-osx`,您需要手动在……”),会更符合标准书面中文的习惯,也能提升可读性。

```suggestion
若未安装 `switchaudio-osx`,您需要手动在 「系统设置」/「系统偏好设置」>「声音」>「输入」改为 BlackHole
```
</issue_to_address>

### Comment 2
<location path="src/zh-TW/docs/faq.md" line_range="81" />
<code_context>
+
+請確保 BlackHole 驅動已正確安裝!
+
+若未安裝 `switchaudio-osx` 您需要手動在 “系統設定”/“系統偏好設定”>“聲音”>“輸入”改為 BlackHole
+
+![輸入設備](/macos-sound-zhtw.png)
</code_context>
<issue_to_address>
**suggestion (typo):** 建議在條件子句後加上一個逗號,以改善中文語句的語法與流暢度。

建議在「若未安裝 `switchaudio-osx`」後加逗號:「若未安裝 `switchaudio-osx`,您需要手動在……」,更符合書面中文的自然語氣。

```suggestion
若未安裝 `switchaudio-osx`,您需要手動在 “系統設定”/“系統偏好設定”>“聲音”>“輸入”改為 BlackHole
```
</issue_to_address>

### Comment 3
<location path="src/zh-TW/docs/faq.md" line_range="83" />
<code_context>
+
+若未安裝 `switchaudio-osx` 您需要手動在 “系統設定”/“系統偏好設定”>“聲音”>“輸入”改為 BlackHole
+
+![輸入設備](/macos-sound-zhtw.png)
+
+## 退出軟體後裝置自備麥克風無法使用
</code_context>
<issue_to_address>
**suggestion (typo):** 「設備」一詞與前面相關標籤中使用的「裝置」不一致。

前面的標籤是「輸入裝置」/「輸出裝置」,這裡也建議改成「輸入裝置」,以維持術語的一致性。

```suggestion
![輸入裝置](/macos-sound-zhtw.png)
```
</issue_to_address>

Sourcery 對開源專案免費使用——如果你覺得我們的程式碼審查有幫助,歡迎幫忙分享 ✨
幫助我變得更有用!請在每條評論上點擊 👍 或 👎,我會根據你的回饋持續改進之後的審查品質。
Original comment in English

Hey - I've found 3 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="src/docs/faq.md" line_range="83" />
<code_context>
+
+请确保 BlackHole 驱动已正确安装!
+
+若未安装 `switchaudio-osx` 您需要手动在 「系统设置」/「系统偏好设置」>「声音」>「输入」改为 BlackHole
+
+![输入设备](/macos-sound-zhcn.png)
</code_context>
<issue_to_address>
**suggestion (typo):** Consider adding a comma after the conditional clause for smoother Chinese grammar.

Adding a comma after “若未安装 `switchaudio-osx`” (i.e., “若未安装 `switchaudio-osx`,您需要手动在……”) would better align with standard written Chinese and improve readability.

```suggestion
若未安装 `switchaudio-osx`,您需要手动在 「系统设置」/「系统偏好设置」>「声音」>「输入」改为 BlackHole
```
</issue_to_address>

### Comment 2
<location path="src/zh-TW/docs/faq.md" line_range="81" />
<code_context>
+
+請確保 BlackHole 驅動已正確安裝!
+
+若未安裝 `switchaudio-osx` 您需要手動在 “系統設定”/“系統偏好設定”>“聲音”>“輸入”改為 BlackHole
+
+![輸入設備](/macos-sound-zhtw.png)
</code_context>
<issue_to_address>
**suggestion (typo):** Add a comma after the conditional phrase to improve Chinese grammar.

建議在「若未安裝 `switchaudio-osx`」後加逗號:「若未安裝 `switchaudio-osx`,您需要手動在……」,更符合書面中文的自然語氣。

```suggestion
若未安裝 `switchaudio-osx`,您需要手動在 “系統設定”/“系統偏好設定”>“聲音”>“輸入”改為 BlackHole
```
</issue_to_address>

### Comment 3
<location path="src/zh-TW/docs/faq.md" line_range="83" />
<code_context>
+
+若未安裝 `switchaudio-osx` 您需要手動在 “系統設定”/“系統偏好設定”>“聲音”>“輸入”改為 BlackHole
+
+![輸入設備](/macos-sound-zhtw.png)
+
+## 退出軟體後裝置自備麥克風無法使用
</code_context>
<issue_to_address>
**suggestion (typo):** “設備” is inconsistent with earlier use of “裝置” in related labels.

前面標籤是「輸入裝置」/「輸出裝置」,這裡也建議改成「輸入裝置」,以維持術語一致。

```suggestion
![輸入裝置](/macos-sound-zhtw.png)
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread src/docs/faq.md Outdated
Comment thread src/zh-TW/docs/faq.md Outdated
Comment thread src/zh-TW/docs/faq.md Outdated
@WhatDamon
Copy link
Copy Markdown
Contributor Author

繁体中文可能需要更多检查:当前繁中翻译使用的是机翻,AI Review 不一定全面

@WhatDamon
Copy link
Copy Markdown
Contributor Author

@sourcery-ai title

@sourcery-ai sourcery-ai Bot changed the title feat: add macOS related Document macOS audio setup and mic recovery in FAQs May 23, 2026
@WhatDamon WhatDamon changed the title Document macOS audio setup and mic recovery in FAQs feat: add macOS audio setup and mic recovery in FAQs May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant