mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-12 04:49:32 +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;
|
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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user