Studio editor preview silent on 1-channel (mono) USB headset output, works on stereo speakers

未关闭
#4,022 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
rust, tauri

调研方向

Start by tracing Studio Mode editor preview playback and how it selects or configures the Windows audio output; the issue names no source files or tests. Reproduce with a mono USB headset, then compare playback with stereo speakers. Done when preview audio plays through the mono output while exported video audio remains correct.

由索引模型根据 Issue 内容生成。

描述

bug
Description

In the Studio Mode editor, the microphone waveform is visible on the timeline, but nothing plays during preview when my Windows default output is a mono (1-channel) USB headset. When I switch the output to my PC speakers (stereo), the preview plays audio normally. The exported video has correct audio in all cases, so the recording is fine and only editor preview playback is affected.

Things I already checked: Mute Audio and Mute clip are off, clip volume is 100%, Studio Sound makes no difference on or off, Windows Volume Mixer lists "Cap Editor" as not muted on the correct device, default format is already 48000 Hz.

Reproduction
  1. Set the Windows default output device to a mono (1-channel) USB headset.
  2. Record a short clip in Studio Mode with the microphone enabled.
  3. Open the recording in the editor and press Play.
  4. Result: waveform shows on the timeline, but no sound.
  5. Switch the Windows default output to stereo speakers, restart Cap, press Play.
  6. Result: audio plays normally.
Additional Context
  • Cap version: 0.6.2
  • Operating system, version: Windows 10 Pro 22H2 (OS build 19045.6466)
  • Device (optional): Poly Blackwire 3310 USB headset (Windows lists only 1-channel formats: 1 channel, 16 bit, 48000 Hz)

Editor timeline (waveform visible, no sound on playback):
Image

Windows sound properties for the headset (all formats are 1 channel):
Image

主要语言
Rust
星标
25k
派生
2.4k
平均合并
1 天 8 小时
30 天内合并 PR
676

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CapSoftware/Cap 的其他 Issue

查看 CapSoftware/Cap 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。