playmov: audio queue emptying on audio stop

This commit is contained in:
minjaesong
2025-08-16 16:26:43 +09:00
parent e32c8dd0e5
commit e6fc6ed070
2 changed files with 4 additions and 2 deletions

View File

@@ -375,6 +375,9 @@ finally {
let timeTook = (endTime - startTime) / 1000000000.0
//println(`Actual FPS: ${framesRendered / timeTook}`)
audio.stop(0)
audio.purgeQueue(0)
}
return errorlevel

View File

@@ -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