diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-03 15:24:41 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-22 18:00:37 -0500 |
commit | 34a092a99729dd4de014aa1f76c48660f28a9c97 (patch) | |
tree | 40bd89c62bb6b1b7da10ede5a744b83c9c29bee5 /apps/plugin.h | |
parent | b96b7640de381757c5ceac182e01bc84f668e64a (diff) | |
download | rockbox-34a092a99729dd4de014aa1f76c48660f28a9c97.tar.gz rockbox-34a092a99729dd4de014aa1f76c48660f28a9c97.zip |
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
714 | #endif | 714 | #endif |
715 | intptr_t (*dsp_configure)(struct dsp_config *dsp, | 715 | intptr_t (*dsp_configure)(struct dsp_config *dsp, |
716 | unsigned int setting, intptr_t value); | 716 | unsigned int setting, intptr_t value); |
717 | struct dsp_config * (*dsp_get_config)(enum dsp_ids id); | 717 | struct dsp_config * (*dsp_get_config)(unsigned int dsp_id); |
718 | void (*dsp_process)(struct dsp_config *dsp, struct dsp_buffer *src, | 718 | void (*dsp_process)(struct dsp_config *dsp, struct dsp_buffer *src, |
719 | struct dsp_buffer *dst); | 719 | struct dsp_buffer *dst); |
720 | 720 | ||