diff options
Diffstat (limited to 'lib/rbcodec/dsp/compressor.c')
-rw-r--r-- | lib/rbcodec/dsp/compressor.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/rbcodec/dsp/compressor.c b/lib/rbcodec/dsp/compressor.c index 22a60e4c7e..bdcc37be91 100644 --- a/lib/rbcodec/dsp/compressor.c +++ b/lib/rbcodec/dsp/compressor.c | |||
@@ -386,14 +386,16 @@ static intptr_t compressor_configure(struct dsp_proc_entry *this, | |||
386 | case DSP_PROC_INIT: | 386 | case DSP_PROC_INIT: |
387 | if (value != 0) | 387 | if (value != 0) |
388 | break; /* Already enabled */ | 388 | break; /* Already enabled */ |
389 | this->process[0] = compressor_process; | 389 | |
390 | this->process = compressor_process; | ||
391 | /* Fall-through */ | ||
390 | case DSP_RESET: | 392 | case DSP_RESET: |
391 | case DSP_FLUSH: | 393 | case DSP_FLUSH: |
392 | release_gain = UNITY; | 394 | release_gain = UNITY; |
393 | break; | 395 | break; |
394 | } | 396 | } |
395 | 397 | ||
396 | return 1; | 398 | return 0; |
397 | (void)dsp; | 399 | (void)dsp; |
398 | } | 400 | } |
399 | 401 | ||