summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/channel_mode.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-07-30 14:31:05 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-07-30 14:32:12 +0200
commit928d660a67e28bf1c20e1630b544a12c134359b1 (patch)
tree814fc660f6514ff9b136855d05fb08abb83137c9 /lib/rbcodec/dsp/channel_mode.c
parentd1ca2e45e9ebab9f9e254317e625c0a40f377315 (diff)
downloadrockbox-928d660a67e28bf1c20e1630b544a12c134359b1.tar.gz
rockbox-928d660a67e28bf1c20e1630b544a12c134359b1.zip
rbcodec: fix compilation in debug mode
Change-Id: I124cf59c641c2e161cc147b031d9bef5ef773dfb
Diffstat (limited to 'lib/rbcodec/dsp/channel_mode.c')
-rw-r--r--lib/rbcodec/dsp/channel_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/dsp/channel_mode.c b/lib/rbcodec/dsp/channel_mode.c
index aa92cec412..7a83236648 100644
--- a/lib/rbcodec/dsp/channel_mode.c
+++ b/lib/rbcodec/dsp/channel_mode.c
@@ -204,7 +204,7 @@ static intptr_t channel_mode_new_format(struct dsp_proc_entry *this,
204 struct dsp_config *dsp, 204 struct dsp_config *dsp,
205 struct sample_format *format) 205 struct sample_format *format)
206{ 206{
207 DSP_PRINT_FORMAT(DSP_PROC_CHANNEL_MODE, format); 207 DSP_PRINT_FORMAT(DSP_PROC_CHANNEL_MODE, *format);
208 208
209 bool active = format->num_channels >= 2; 209 bool active = format->num_channels >= 2;
210 dsp_proc_activate(dsp, DSP_PROC_CHANNEL_MODE, active); 210 dsp_proc_activate(dsp, DSP_PROC_CHANNEL_MODE, active);