fix(playback): stop transport fade-out that - handleStop goi stopAllPlayback(true) (bo sot v14) + FADE_MS 80->200ms de fade nghe ro, het cat dung; sync 5 ban JS + index.html ?v=202608181827

This commit is contained in:
2026-08-18 18:27:28 +07:00
parent 1e16189da8
commit eb5a1483ca
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -23347,7 +23347,7 @@ const App = () => {
// Lưu ref trước khi clear để doHardStop trễ không đụng playback mới.
const ctx = getAudioContext();
const stopEpoch = _nativePlayEpoch;
const FADE_MS = 80;
const FADE_MS = 200;
const capturedSources = activeSourcesRef.current.slice();
const capturedNodes = Object.values(activeTrackNodesRef.current);
activeSourcesRef.current = [];
@@ -23489,7 +23489,7 @@ const App = () => {
stopRecordingTake();
return;
}
stopAllPlayback();
stopAllPlayback(true); // user stop transport — fade out
if (activeTab !== 'main' && !activeTab.startsWith('session_')) {
setSubTabs(prev => prev.map(s => s.id === activeTab ? {
...s,
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -50,7 +50,7 @@
<script src="/static/js/services/midiExtractor.js?v=202607281052"></script>
<script src="/static/js/services/promptTemplateManager.js?v=202607281039"></script>
<script src="/static/js/services/undoRedoEngine.js?v=202607290941"></script>
<script src="/static/js/app.precompiled.js?v=202608181818" defer></script>
<script src="/static/js/app.precompiled.js?v=202608181827" defer></script>
<link rel="stylesheet" href="/static/css/styles.css?v=202607271016">
<style>
:root {