summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rbcodec/dsp/channel_mode.c2
-rw-r--r--lib/rbcodec/dsp/crossfeed.c2
-rw-r--r--lib/rbcodec/dsp/dsp_proc_entry.h2
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,
struct dsp_config *dsp,
struct sample_format *format)
{
- DSP_PRINT_FORMAT(DSP_PROC_CHANNEL_MODE, format);
+ DSP_PRINT_FORMAT(DSP_PROC_CHANNEL_MODE, *format);
bool active = format->num_channels >= 2;
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,
struct dsp_config *dsp,
struct sample_format *format)
{
- DSP_PRINT_FORMAT(DSP_PROC_CROSSFEED, format);
+ DSP_PRINT_FORMAT(DSP_PROC_CROSSFEED, *format);
bool was_active = dsp_proc_active(dsp, DSP_PROC_CROSSFEED);
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,
#define DSP_PRINT_FORMAT(id, format) \
DEBUGF("DSP format- " #id "\n" \
" ver:%u ch:%u fb:%u os:%u hz:%u chz:%u\n", \
- (unsigned int)(format).version \
+ (unsigned int)(format).version, \
(unsigned int)(format).num_channels, \
(unsigned int)(format).frac_bits, \
(unsigned int)(format).output_scale, \