diff options
author | Nils Wallménius <nils@rockbox.org> | 2012-05-06 12:22:09 +0200 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2012-05-07 10:29:07 +0200 |
commit | 3f61caa0cd7e818416be08778f356efd54e596fb (patch) | |
tree | 9f0ca1be9d8cd4f0a2dcd8a3a7c20657925de21e /lib/rbcodec/dsp/tdspeed.h | |
parent | 51a73d81cda6136f901e8d56f4720dc28edf648a (diff) | |
download | rockbox-3f61caa0cd7e818416be08778f356efd54e596fb.tar.gz rockbox-3f61caa0cd7e818416be08778f356efd54e596fb.zip |
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>
Diffstat (limited to 'lib/rbcodec/dsp/tdspeed.h')
-rw-r--r-- | lib/rbcodec/dsp/tdspeed.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbcodec/dsp/tdspeed.h b/lib/rbcodec/dsp/tdspeed.h index ca8a7846a4..2949c1bee9 100644 --- a/lib/rbcodec/dsp/tdspeed.h +++ b/lib/rbcodec/dsp/tdspeed.h | |||
@@ -39,5 +39,6 @@ void dsp_timestretch_enable(bool enable); | |||
39 | void dsp_set_timestretch(int32_t percent); | 39 | void dsp_set_timestretch(int32_t percent); |
40 | int32_t dsp_get_timestretch(void); | 40 | int32_t dsp_get_timestretch(void); |
41 | bool dsp_timestretch_available(void); | 41 | bool dsp_timestretch_available(void); |
42 | void tdspeed_move(int i, void* current, void* new); | ||
42 | 43 | ||
43 | #endif /* _TDSPEED_H */ | 44 | #endif /* _TDSPEED_H */ |