mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
rbcodec: abstract tdspeed buffer allocation
Move code dealing with rockbox specific buflib allocations into a rockbox specific file and implement buffer allocation with malloc/free for warble/stand alone lib. Based on patch by Sean Bartell. Change-Id: I8cb85dad5890fbd34c1bb26abbb89c0b0f6b55cf Reviewed-on: http://gerrit.rockbox.org/144 Tested-by: Nils Wallménius <nils@rockbox.org> Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Reviewed-by: Nils Wallménius <nils@rockbox.org>
This commit is contained in:
parent
51a73d81cd
commit
3f61caa0cd
8 changed files with 173 additions and 110 deletions
|
@ -31,5 +31,9 @@
|
|||
#include "dsp-util.h"
|
||||
#define HAVE_CLIP_SAMPLE_16
|
||||
#endif
|
||||
|
||||
bool tdspeed_alloc_buffers(int32_t **buffers, const int *buf_s, int nbuf);
|
||||
void tdspeed_free_buffers(int32_t **buffers, int nbuf);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue