diff options
Diffstat (limited to 'lib/rbcodec')
-rw-r--r-- | lib/rbcodec/dsp/channel_mode.c | 2 | ||||
-rw-r--r-- | lib/rbcodec/dsp/crossfeed.c | 2 | ||||
-rw-r--r-- | lib/rbcodec/dsp/dsp_proc_entry.h | 2 |
3 files changed, 3 insertions, 3 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); |
diff --git a/lib/rbcodec/dsp/crossfeed.c b/lib/rbcodec/dsp/crossfeed.c index 0428f58d8d..60f38b243c 100644 --- a/lib/rbcodec/dsp/crossfeed.c +++ b/lib/rbcodec/dsp/crossfeed.c | |||
@@ -302,7 +302,7 @@ static intptr_t crossfeed_new_format(struct dsp_proc_entry *this, | |||
302 | struct dsp_config *dsp, | 302 | struct dsp_config *dsp, |
303 | struct sample_format *format) | 303 | struct sample_format *format) |
304 | { | 304 | { |
305 | DSP_PRINT_FORMAT(DSP_PROC_CROSSFEED, format); | 305 | DSP_PRINT_FORMAT(DSP_PROC_CROSSFEED, *format); |
306 | 306 | ||
307 | bool was_active = dsp_proc_active(dsp, DSP_PROC_CROSSFEED); | 307 | bool was_active = dsp_proc_active(dsp, DSP_PROC_CROSSFEED); |
308 | bool active = format->num_channels >= 2; | 308 | bool active = format->num_channels >= 2; |
diff --git a/lib/rbcodec/dsp/dsp_proc_entry.h b/lib/rbcodec/dsp/dsp_proc_entry.h index 1bf59dd73a..a4f7b71f9c 100644 --- a/lib/rbcodec/dsp/dsp_proc_entry.h +++ b/lib/rbcodec/dsp/dsp_proc_entry.h | |||
@@ -158,7 +158,7 @@ void dsp_proc_set_in_place(struct dsp_config *dsp, enum dsp_proc_ids id, | |||
158 | #define DSP_PRINT_FORMAT(id, format) \ | 158 | #define DSP_PRINT_FORMAT(id, format) \ |
159 | DEBUGF("DSP format- " #id "\n" \ | 159 | DEBUGF("DSP format- " #id "\n" \ |
160 | " ver:%u ch:%u fb:%u os:%u hz:%u chz:%u\n", \ | 160 | " ver:%u ch:%u fb:%u os:%u hz:%u chz:%u\n", \ |
161 | (unsigned int)(format).version \ | 161 | (unsigned int)(format).version, \ |
162 | (unsigned int)(format).num_channels, \ | 162 | (unsigned int)(format).num_channels, \ |
163 | (unsigned int)(format).frac_bits, \ | 163 | (unsigned int)(format).frac_bits, \ |
164 | (unsigned int)(format).output_scale, \ | 164 | (unsigned int)(format).output_scale, \ |