mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-09 22:54:03 +09:00
playmov: audio queue emptying on audio stop
This commit is contained in:
@@ -375,6 +375,9 @@ finally {
|
|||||||
let timeTook = (endTime - startTime) / 1000000000.0
|
let timeTook = (endTime - startTime) / 1000000000.0
|
||||||
|
|
||||||
//println(`Actual FPS: ${framesRendered / timeTook}`)
|
//println(`Actual FPS: ${framesRendered / timeTook}`)
|
||||||
|
|
||||||
|
audio.stop(0)
|
||||||
|
audio.purgeQueue(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
return errorlevel
|
return errorlevel
|
||||||
@@ -455,7 +455,6 @@ Packet Types -
|
|||||||
|
|
||||||
Packet Type High Byte (iPF Type Numbers)
|
Packet Type High Byte (iPF Type Numbers)
|
||||||
0..7: iPF Type 1..8
|
0..7: iPF Type 1..8
|
||||||
128..135: Patch-encoded iPF Type 1..8
|
|
||||||
|
|
||||||
- MP2 Format Details
|
- MP2 Format Details
|
||||||
Rate | 2ch | 1ch
|
Rate | 2ch | 1ch
|
||||||
@@ -502,7 +501,7 @@ iPF Packet -
|
|||||||
uint32 SIZE OF COMPRESSED FRAMEDATA
|
uint32 SIZE OF COMPRESSED FRAMEDATA
|
||||||
* COMPRESSED FRAMEDATA // only the actual gzip (and no UNCOMPRESSED SIZE) of the "Blocks.gz" is stored
|
* 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
|
uint32 SIZE OF COMPRESSED PATCHES
|
||||||
* COMPRESSED PATCHES
|
* COMPRESSED PATCHES
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user