From 34a092a99729dd4de014aa1f76c48660f28a9c97 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 3 Dec 2022 15:24:41 +0000 Subject: rbcodec dsp: Replace enum dsp_ids arguments with unsigned int Because casting to and from "enum dsp_id" just adds noise, change everything to unsigned int. Change-Id: I52a7ae55f406e673d5b811b29657fcdc4b62ab10 --- apps/plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 377b18773f..e44511a6f5 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -714,7 +714,7 @@ struct plugin_api { #endif intptr_t (*dsp_configure)(struct dsp_config *dsp, unsigned int setting, intptr_t value); - struct dsp_config * (*dsp_get_config)(enum dsp_ids id); + struct dsp_config * (*dsp_get_config)(unsigned int dsp_id); void (*dsp_process)(struct dsp_config *dsp, struct dsp_buffer *src, struct dsp_buffer *dst); -- cgit v1.2.3