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
|
@ -242,8 +242,7 @@ void dsp_sample_input_flush(struct sample_io_data *this)
|
|||
this->sample_buf.remcount = 0;
|
||||
}
|
||||
|
||||
void dsp_sample_input_init(struct sample_io_data *this,
|
||||
enum dsp_ids dsp_id)
|
||||
void dsp_sample_input_init(struct sample_io_data *this, unsigned int dsp_id)
|
||||
{
|
||||
int32_t *lbuf, *rbuf;
|
||||
|
||||
|
@ -260,7 +259,7 @@ void dsp_sample_input_init(struct sample_io_data *this,
|
|||
|
||||
default:
|
||||
/* orly */
|
||||
DEBUGF("DSP Input- unknown dsp %d\n", (int)dsp_id);
|
||||
DEBUGF("DSP Input- unknown dsp %u\n", dsp_id);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue