diff options
Diffstat (limited to 'lib/rbcodec/dsp/dsp_core.h')
-rw-r--r-- | lib/rbcodec/dsp/dsp_core.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/rbcodec/dsp/dsp_core.h b/lib/rbcodec/dsp/dsp_core.h index 0f63b62e00..9b09d981cc 100644 --- a/lib/rbcodec/dsp/dsp_core.h +++ b/lib/rbcodec/dsp/dsp_core.h @@ -32,7 +32,6 @@ enum dsp_ids enum dsp_settings { - DSP_INIT, /* For dsp_init */ DSP_RESET, DSP_SET_FREQUENCY, DSP_SET_SAMPLE_DEPTH, @@ -128,10 +127,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 **/ @@ -144,6 +143,6 @@ intptr_t dsp_configure(struct dsp_config *dsp, unsigned int setting, intptr_t value); /* One-time startup init that must come before settings reset/apply */ -void dsp_init(void); +void dsp_init(void) INIT_ATTR; #endif /* _DSP_H */ |