mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
(WaveInput): force ADPCM streams conversion.
This commit is contained in:
@@ -50,7 +50,7 @@ namespace GameRes
|
||||
var reader = new WaveFileReader (file);
|
||||
m_input = reader;
|
||||
var wf = reader.WaveFormat;
|
||||
if (WaveFormatEncoding.MuLaw == wf.Encoding) // == 7
|
||||
if (WaveFormatEncoding.Adpcm == wf.Encoding || WaveFormatEncoding.MuLaw == wf.Encoding) // 2 || 7
|
||||
{
|
||||
var wav = WaveFormatConversionStream.CreatePcmStream (reader);
|
||||
wf = wav.WaveFormat;
|
||||
|
||||
Reference in New Issue
Block a user