Fix audiobook export modal visibility and eliminate 4-10s TTS delay for narrator blocks
This commit is contained in:
parent
1d8e0ff2a6
commit
ee17ed97d1
@ -5,6 +5,12 @@ Follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · versioned wi
|
||||
|
||||
---
|
||||
|
||||
## [1.22.1] — 2026-08-23
|
||||
|
||||
### Fixed
|
||||
- **Audiobook Modal Bundle.** Explicitly rebuilt the production JS bundle so the modal UI changes actually surface for users instead of being suppressed by browser caching.
|
||||
- **Narrator TTS Delay.** Eliminated a 4-10 second playback delay when encountering narrator blocks. The pre-decoder now correctly looks ahead for all synthesized audio (including narrator blocks), rather than strictly filtering for dialogue lines, preventing synchronous mid-playback decoding on ARM CPUs.
|
||||
|
||||
## [1.22.0] — 2026-08-23
|
||||
|
||||
### Added
|
||||
|
||||
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@ -3745,7 +3745,7 @@ async function playPreDecoded(lineIdx, blob, text) {
|
||||
|
||||
function findNextCachedLine(fromIdx) {
|
||||
for (let i = fromIdx; i < rehState.lines.length; i++) {
|
||||
if (rehState.lines[i].type === 'dialog' && rehState.synthCache.has(i)) return i;
|
||||
if (rehState.synthCache.has(i)) return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user