feat(voice): 语音记账VAD优化(#252)#372
Open
stoneReg wants to merge 3 commits into
Open
Conversation
依据维护者 PR TNT-Likely#361 Review 将单体 PR 拆为 A(静音/VAD)、B(触发方式)、C(多模态)。 Co-authored-by: Stonely <stoneReg@users.noreply.github.com>
- VoiceTriggerMode 自动检测/按住说话,设置页可选 - voice_trigger_mode 纳入多设备同步 - 按住说话启动录音期间松手丢弃 orphan 录音 - 录音保持 WAV(多模态 m4a 在 PR C) - 静音滑块 onChangeEnd 写持久化(继承 PR A) Co-authored-by: Stonely <stoneReg@users.noreply.github.com>
- 更新三 PR 拆分文档:TNT-Likely#252 单 PR(A+B),TNT-Likely#357 待合入后从 main 独立开发 - 新增 voice-billing-252-test-delivery.md(8 项单测 + 手测清单) - 明确本 PR 不含 audioMode/多模态/m4a Co-authored-by: Stonely <stoneReg@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
依据维护者 PR #361 Review,将原 #252 拆分为 A+B 合并为一个 PR(原 A/B 分支栈导致 diff 重叠,已废弃 #3/#4)。
main最新(30336cf起)main单独提 PR变更(仅 #252)
静音 / VAD
voice_silence_timeout_ms多设备同步onChangeEnd持久化(避免拖动频繁云同步)触发方式
voice_trigger_mode多设备同步await _startRecording()期间松手 → discard orphan 录音录音格式
维护者 Review 对应
测试
8/8 单测通过
flutter test test/providers/voice_billing_settings_test.dart \ test/ai/providers/ai_provider_manager_voice_sync_test.dartCommit 结构