Skip to content

Commit

Permalink
change more uniform names for loadable up_down_mixer
Browse files Browse the repository at this point in the history
  • Loading branch information
pjdobrowolski committed Aug 25, 2023
1 parent 4849a71 commit d33fa65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/audio/up_down_mixer/up_down_mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ DECLARE_TR_CTX(up_down_mixer_comp_tr, SOF_UUID(up_down_mixer_comp_uuid),

int32_t custom_coeffs[UP_DOWN_MIX_COEFFS_LENGTH];

static int set_downmix_coefficients(struct processing_module *mod,
static int up_down_mixer_set_downmix_coefficients(struct processing_module *mod,
const struct ipc4_audio_format *format,
const enum ipc4_channel_config out_channel_config,
const downmix_coefficients downmix_coefficients)
Expand Down Expand Up @@ -102,7 +102,7 @@ static int set_downmix_coefficients(struct processing_module *mod,
cd->downmix_coefficients = k_scaled_lo_ro_downmix32bit;
break;
default:
comp_err(dev, "set_downmix_coefficients(): invalid channel config.");
comp_err(dev, "up_down_mixer_set_downmix_coefficients(): invalid channel config.");
return -EINVAL;
}

Expand Down Expand Up @@ -321,7 +321,7 @@ static int init_mix(struct processing_module *mod,
cd->in_channel_map = format->ch_map;
cd->in_channel_config = format->ch_cfg;

return set_downmix_coefficients(mod, format, out_channel_config, downmix_coefficients);
return up_down_mixer_set_downmix_coefficients(mod, format, out_channel_config, downmix_coefficients);
}

static int up_down_mixer_free(struct processing_module *mod)
Expand Down

0 comments on commit d33fa65

Please sign in to comment.