diff options
author | Chris Robinson <[email protected]> | 2015-07-04 10:12:57 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-07-04 10:12:57 -0700 |
commit | 4efe0d869651567aa26a17687d050a0834100f49 (patch) | |
tree | b1b886b6ddfddc27d6086d26599cc9ff1943fc37 /Alc | |
parent | d90dfc8d1f4f9ae374230cab837400a64503c2c1 (diff) |
Update a couple comments
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 5 | ||||
-rw-r--r-- | Alc/ALu.c | 7 |
2 files changed, 5 insertions, 7 deletions
@@ -2083,10 +2083,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) aluInitPanning(device); - /* With HRTF enabled, virtual channels are allocated for B-Format and - * effects renfering. Two extra channels are allocated for the actual HRTF- - * filtered output. - */ + /* With HRTF, allocate two extra channels for the post-filter output. */ size = sizeof(device->DryBuffer[0]) * (device->NumChannels + (device->Hrtf ? 2 : 0)); device->DryBuffer = al_calloc(16, size); if(!device->DryBuffer) @@ -105,9 +105,10 @@ extern inline void aluMatrixSet(aluMatrix *restrict matrix, ALfloat m00, ALfloat * output. Things like effects and B-Format decoding will want to write to the * virtual channels so that they can be mixed with HRTF in full 3D. * - * Sources that get mixed using HRTF directly will need to offset the output - * buffer so that they skip the virtual output and write to the actual output - * channels. This is the reason you'll see + * Sources that get mixed using HRTF directly (or that want to skip HRTF + * completely) will need to offset the output buffer so that they skip the + * virtual output and write to the actual output channels. This is the reason + * you'll see * * voice->Direct.OutBuffer += voice->Direct.OutChannels; * voice->Direct.OutChannels = 2; |