mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
extract Ogg stream from 'Og'-tagged WAV files.
This commit is contained in:
parent
d7f7548fd0
commit
723b985e07
@ -810,6 +810,15 @@ namespace GARbro.GUI
|
||||
throw FormatCatalog.Instance.LastError;
|
||||
return;
|
||||
}
|
||||
if (sound is WaveInput && 0x674f == sound.Format.FormatTag)
|
||||
{
|
||||
var ogg = AudioFormat.Read (sound);
|
||||
if (null != ogg)
|
||||
{
|
||||
sound.Dispose();
|
||||
sound = ogg;
|
||||
}
|
||||
}
|
||||
|
||||
if (m_audio != null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user