mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(WaveInput): force ADPCM streams conversion.
This commit is contained in:
parent
d686846894
commit
0bf0d7b4bf
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user