(WaveAudio): support Ogg-tagged wave streams.

This commit is contained in:
morkt
2015-05-01 23:30:57 +04:00
parent a2a9ced8df
commit 888718e900
2 changed files with 17 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
// Game Resource Browser
//
// Copyright (C) 2014 by morkt
// Copyright (C) 2014-2015 by morkt
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
@@ -810,15 +810,6 @@ 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)
{