aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/compressor.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/compressor.c')
-rw-r--r--Alc/effects/compressor.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/Alc/effects/compressor.c b/Alc/effects/compressor.c
index 6358f672..4e1d55f1 100644
--- a/Alc/effects/compressor.c
+++ b/Alc/effects/compressor.c
@@ -58,17 +58,15 @@ static ALboolean ALcompressorState_deviceUpdate(ALcompressorState *state, ALCdev
static ALvoid ALcompressorState_update(ALcompressorState *state, const ALCdevice *device, const ALeffectslot *slot)
{
aluMatrixf matrix;
- ALfloat scale;
ALuint i;
state->Enabled = slot->EffectProps.Compressor.OnOff;
- scale = device->Dry.AmbiScale;
aluMatrixfSet(&matrix,
- 1.0f, 0.0f, 0.0f, 0.0f,
- 0.0f, scale, 0.0f, 0.0f,
- 0.0f, 0.0f, scale, 0.0f,
- 0.0f, 0.0f, 0.0f, scale
+ 1.0f, 0.0f, 0.0f, 0.0f,
+ 0.0f, 1.0f, 0.0f, 0.0f,
+ 0.0f, 0.0f, 1.0f, 0.0f,
+ 0.0f, 0.0f, 0.0f, 1.0f
);
STATIC_CAST(ALeffectState,state)->OutBuffer = device->FOAOut.Buffer;