Repository navigation
fix: 修复预载切歌时的播放间隙 - #425
Open
WorldSansha wants to merge 1 commit into
Open
WorldSansha wants to merge 1 commit into
WorldSansha wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
改动类型
是否包含破坏性变更
改动说明
已预载下一曲时,自动切歌仍会出现播放间隙。修复 Rust 原生音频引擎的交接,让就绪的下一曲 PCM 在当前曲结束后直接接续同一输出流。
测试情况
pnpm build:native --dev:6 个原生模块构建通过,NAPI 自动生成类型;核对audio-engine.node与构建 DLL 的 SHA-256 一致cargo test --workspace --offline:117 项通过,4 项按原配置跳过pnpm test:Node 50 项、Vitest 488 项通过pnpm typecheck、pnpm lint、Prettier、rustfmt、git diff --check和 Electron 应用构建通过自查清单
pnpm typecheck、pnpm lint通过pnpm build:native --dev验证,未手写native/*/index.d.tsdev