forked from len0rd/rockbox
rbcodec dsp: Move dsp_sample_io_configure() to its own file
Makes dsp_sample_input.c a bit less messy, and dependencies are more explicit. There's possibly a minor loss of inlining but it isn't a big deal. Change-Id: I30f923a0ca758f2b113d32852d1f65586dff0cd1
This commit is contained in:
parent
646d5f92ef
commit
b96b7640de
5 changed files with 129 additions and 103 deletions
|
@ -56,9 +56,13 @@ struct sample_io_data
|
|||
uint8_t output_version; /* Format version of src buffer at output */
|
||||
};
|
||||
|
||||
void dsp_sample_input_init(struct sample_io_data *this, enum dsp_ids dsp_id);
|
||||
void dsp_sample_input_flush(struct sample_io_data *this);
|
||||
void dsp_sample_input_format_change(struct sample_io_data *this,
|
||||
struct sample_format *format);
|
||||
|
||||
void dsp_sample_output_init(struct sample_io_data *this);
|
||||
void dsp_sample_output_flush(struct sample_io_data *this);
|
||||
void dsp_sample_output_format_change(struct sample_io_data *this,
|
||||
struct sample_format *format);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue