From 3f61caa0cd7e818416be08778f356efd54e596fb Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 6 May 2012 12:22:09 +0200 Subject: rbcodec: abstract tdspeed buffer allocation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Michael Sevakis Reviewed-by: Nils Wallménius --- lib/rbcodec/test/warble.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/rbcodec/test/warble.c') diff --git a/lib/rbcodec/test/warble.c b/lib/rbcodec/test/warble.c index ea8efcffca..d5bc1c5aea 100644 --- a/lib/rbcodec/test/warble.c +++ b/lib/rbcodec/test/warble.c @@ -33,7 +33,6 @@ #include #include "buffering.h" /* TYPE_PACKET_AUDIO */ #include "codecs.h" -#include "core_alloc.h" /* core_allocator_init */ #include "dsp_core.h" #include "metadata.h" #include "settings.h" @@ -851,7 +850,6 @@ int main(int argc, char **argv) } } - core_allocator_init(); if (argc == optind + 2) { write_init(argv[optind + 1]); } else if (argc == optind + 1) { -- cgit v1.2.3