extract Ogg stream from 'Og'-tagged WAV files.

This commit is contained in:
morkt 2015-04-30 21:09:43 +04:00
parent d7f7548fd0
commit 723b985e07

View File

@ -810,6 +810,15 @@ namespace GARbro.GUI
throw FormatCatalog.Instance.LastError; throw FormatCatalog.Instance.LastError;
return; 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) if (m_audio != null)
{ {