Rename ImaAdpcmLoader to *Reader and move it to FileFormats

This commit is contained in:
reaperrr
2016-06-23 23:34:04 +02:00
parent 415e0bb54c
commit f1882e2dd6
3 changed files with 7 additions and 4 deletions

View File

@@ -11,6 +11,7 @@
using System;
using System.IO;
using OpenRA.Mods.Common.FileFormats;
namespace OpenRA.Mods.Common.AudioLoaders
{
@@ -220,7 +221,7 @@ namespace OpenRA.Mods.Common.AudioLoaders
{
// Decode 4 bytes (to 16 bytes of output) per channel
var chunk = s.ReadBytes(4);
var decoded = ImaAdpcmLoader.LoadImaAdpcmSound(chunk, ref index[c], ref predictor[c]);
var decoded = ImaAdpcmReader.LoadImaAdpcmSound(chunk, ref index[c], ref predictor[c]);
// Interleave output, one sample per channel
var outOffsetChannel = outOffset + (2 * c);