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 /lib/rbcodec/dsp/dsp_sample_io.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 'lib/rbcodec/dsp/dsp_sample_io.h')
-rw-r--r-- | lib/rbcodec/dsp/dsp_sample_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/dsp/dsp_sample_io.h b/lib/rbcodec/dsp/dsp_sample_io.h index 483f24112c..7e41337a5b 100644 --- a/lib/rbcodec/dsp/dsp_sample_io.h +++ b/lib/rbcodec/dsp/dsp_sample_io.h | |||
@@ -56,7 +56,7 @@ struct sample_io_data | |||
56 | uint8_t output_version; /* Format version of src buffer at output */ | 56 | uint8_t output_version; /* Format version of src buffer at output */ |
57 | }; | 57 | }; |
58 | 58 | ||
59 | void dsp_sample_input_init(struct sample_io_data *this, enum dsp_ids dsp_id); | 59 | void dsp_sample_input_init(struct sample_io_data *this, unsigned int dsp_id); |
60 | void dsp_sample_input_flush(struct sample_io_data *this); | 60 | void dsp_sample_input_flush(struct sample_io_data *this); |
61 | void dsp_sample_input_format_change(struct sample_io_data *this, | 61 | void dsp_sample_input_format_change(struct sample_io_data *this, |
62 | struct sample_format *format); | 62 | struct sample_format *format); |