made decode() always return new SoundData

--HG--
branch : minor-manual-decoders
This commit is contained in:
Raidho
2016-10-23 21:09:13 +03:00
parent 78f5779214
commit a605243709
3 changed files with 23 additions and 23 deletions
+4
View File
@@ -39,6 +39,10 @@ SoundData *Sound::newSoundData(int samples, int sampleRate, int bitDepth, int ch
return new SoundData(samples, sampleRate, bitDepth, channels);
}
SoundData *Sound::newSoundData(void *data, int samples, int sampleRate, int bitDepth, int channels)
{
return new SoundData(data, samples, sampleRate, bitDepth, channels);
}
} // sound
} // love