forked from len0rd/rockbox
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
This commit is contained in:
parent
b96b7640de
commit
34a092a997
9 changed files with 19 additions and 27 deletions
|
@ -128,10 +128,10 @@ static inline void dsp_advance_buffer32(struct dsp_buffer *buf,
|
|||
}
|
||||
|
||||
/* Get DSP pointer */
|
||||
struct dsp_config * dsp_get_config(enum dsp_ids id);
|
||||
struct dsp_config *dsp_get_config(unsigned int dsp_id);
|
||||
|
||||
/* Get DSP id */
|
||||
enum dsp_ids dsp_get_id(const struct dsp_config *dsp);
|
||||
unsigned int dsp_get_id(const struct dsp_config *dsp);
|
||||
|
||||
/** General DSP processing **/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue