Commit 92b9f12
authored
Dev cy 02 (#901)
* chore: 将 @electron/node-gyp 依赖从 git 协议更改为 https tarball
更新 pnpm-lock.yaml 中 @electron/node-gyp 包的解析方式,从 git+https 协议切换到 https tarball 链接,以提高依赖下载的可靠性和兼容性。
* refactor(store): 移除重复的状态属性并添加进度属性
移除 automixFxSeq 和 automixEndedSeq 的重复定义,这些属性已在初始状态中声明。
新增 progress 属性以支持播放进度跟踪。
* fix(音频播放器): 修复加载时暂停状态不一致的问题
在加载新音频源时,确保音频上下文和Web Worker的暂停状态同步。暂停运行中的音频上下文,并通知Worker暂停处理,避免加载过程中的音频播放异常。
* refactor(stores): 调整状态存储中字段顺序
将 automixFxSeq 和 automixEndedSeq 字段移至状态对象末尾,以改善代码组织结构和可读性。1 parent fc80dab commit 92b9f12
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
| |||
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
189 | 196 | | |
190 | 197 | | |
191 | 198 | | |
| |||
233 | 240 | | |
234 | 241 | | |
235 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
236 | 247 | | |
237 | 248 | | |
238 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
184 | 182 | | |
185 | 183 | | |
| 184 | + | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
| |||
0 commit comments