From e6fc6ed07058ce948bee550602cd3b5d517f4d40 Mon Sep 17 00:00:00 2001 From: minjaesong Date: Sat, 16 Aug 2025 16:26:43 +0900 Subject: [PATCH] playmov: audio queue emptying on audio stop --- assets/disk0/tvdos/bin/playmov.js | 3 +++ terranmon.txt | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/disk0/tvdos/bin/playmov.js b/assets/disk0/tvdos/bin/playmov.js index 22c14b4..7557248 100644 --- a/assets/disk0/tvdos/bin/playmov.js +++ b/assets/disk0/tvdos/bin/playmov.js @@ -375,6 +375,9 @@ finally { let timeTook = (endTime - startTime) / 1000000000.0 //println(`Actual FPS: ${framesRendered / timeTook}`) + + audio.stop(0) + audio.purgeQueue(0) } return errorlevel \ No newline at end of file diff --git a/terranmon.txt b/terranmon.txt index bbbb0e9..a445252 100644 --- a/terranmon.txt +++ b/terranmon.txt @@ -455,7 +455,6 @@ Packet Types - Packet Type High Byte (iPF Type Numbers) 0..7: iPF Type 1..8 - 128..135: Patch-encoded iPF Type 1..8 - MP2 Format Details Rate | 2ch | 1ch @@ -502,7 +501,7 @@ iPF Packet - uint32 SIZE OF COMPRESSED FRAMEDATA * COMPRESSED FRAMEDATA // only the actual gzip (and no UNCOMPRESSED SIZE) of the "Blocks.gz" is stored -Patch-encoded iPF Packet - +TYPE 3 Packet (Patch-encoded iPF 1 Packet) - uint32 SIZE OF COMPRESSED PATCHES * COMPRESSED PATCHES