1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-04 23:40:25 +08:00

some notes

This commit is contained in:
Escartem
2025-01-13 14:48:04 +01:00
parent 7ef4dea067
commit 046a1f949f
2 changed files with 16 additions and 0 deletions

View File

@@ -170,6 +170,8 @@ def parse_wwise(reader):
blocks_offset = 0x28
# define header to type 2, packet to modified and codebook to aoTuV603, required ?
# this somehow breaks and don't read correctly, why :c
# stream_size * 8 * sample_rate / num_samples = bitrate * 1000
metadata["numSamples"] = reader.ReadInt32(extra_offset)
setup_offset = reader.ReadUInt32(extra_offset + data_offset)
audio_offset = reader.ReadUInt32(extra_offset + data_offset + 0x04)