mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(OGG): another tag for ogg streams embedded into WAV files.
This commit is contained in:
parent
eaa3ce4702
commit
e8f87af7f0
@ -147,7 +147,7 @@ namespace GameRes.Formats
|
|||||||
uint fmt_size = header.ToUInt32 (0x10);
|
uint fmt_size = header.ToUInt32 (0x10);
|
||||||
long fmt_pos = file.Position;
|
long fmt_pos = file.Position;
|
||||||
ushort format = file.ReadUInt16();
|
ushort format = file.ReadUInt16();
|
||||||
if (format != 0x6770 && format != 0x6771)
|
if (format != 0x676F && format != 0x6770 && format != 0x6771)
|
||||||
return null;
|
return null;
|
||||||
// interpret WAVE 'data' section as Ogg stream
|
// interpret WAVE 'data' section as Ogg stream
|
||||||
file.Position = fmt_pos + ((fmt_size + 1) & ~1);
|
file.Position = fmt_pos + ((fmt_size + 1) & ~1);
|
||||||
|
Loading…
Reference in New Issue
Block a user