rbcodec: fix compilation in debug mode
Change-Id: I124cf59c641c2e161cc147b031d9bef5ef773dfb
This commit is contained in:
parent
d1ca2e45e9
commit
928d660a67
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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, \
|
||||
|
|
Loading…
Reference in a new issue