Rename SoundData:getBits to getBitDepth (resolve #636)

This commit is contained in:
Bart van Strien
2013-07-11 14:40:52 +02:00
parent e382c8939c
commit 882313551c
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ Source::Source(Pool *pool, love::sound::SoundData *soundData)
, toLoop(0)
{
alGenBuffers(1, buffers);
ALenum fmt = getFormat(soundData->getChannels(), soundData->getBits());
ALenum fmt = getFormat(soundData->getChannels(), soundData->getBitDepth());
alBufferData(buffers[0], fmt, soundData->getData(), soundData->getSize(), soundData->getSampleRate());
static float z[3] = {0, 0, 0};