don't send or parse attenuation for now

This commit is contained in:
Stephen Birarda 2013-03-29 08:36:33 -07:00
parent 01d5bdd68c
commit 1767f2b052
2 changed files with 0 additions and 6 deletions

View file

@ -158,9 +158,6 @@ int audioCallback (const void *inputBuffer,
currentPacketPtr += sizeof(float);
}
// tell the mixer not to add additional attenuation to our source
*(currentPacketPtr++) = 255;
// memcpy the corrected render yaw
float correctedYaw = fmodf(data->linkedHead->getRenderYaw(), 360);

View file

@ -117,9 +117,6 @@ void AudioRingBuffer::parseData(void *data, int size) {
dataPtr += sizeof(float);
}
unsigned int attenuationByte = *(dataPtr++);
attenuationRatio = attenuationByte / 255.0f;
memcpy(&bearing, dataPtr, sizeof(float));
dataPtr += sizeof(float);