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.c | |
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.c')
-rw-r--r-- | lib/rbcodec/dsp/dsp_sample_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/dsp/dsp_sample_io.c b/lib/rbcodec/dsp/dsp_sample_io.c index 637d41a918..af3a424aa0 100644 --- a/lib/rbcodec/dsp/dsp_sample_io.c +++ b/lib/rbcodec/dsp/dsp_sample_io.c | |||
@@ -46,7 +46,7 @@ bool dsp_sample_io_configure(struct sample_io_data *this, | |||
46 | { | 46 | { |
47 | case DSP_INIT: | 47 | case DSP_INIT: |
48 | this->output_sampr = DSP_OUT_DEFAULT_HZ; | 48 | this->output_sampr = DSP_OUT_DEFAULT_HZ; |
49 | dsp_sample_input_init(this, (enum dsp_ids)value); | 49 | dsp_sample_input_init(this, value); |
50 | dsp_sample_output_init(this); | 50 | dsp_sample_output_init(this); |
51 | break; | 51 | break; |
52 | 52 | ||