summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/tdspeed.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-05-03 22:54:33 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2022-05-03 23:00:58 -0400
commit79864c6ec22370ae31d3259a17e0c93db3cdae61 (patch)
tree6de3a54700d84db34eab150740006dd74d359cd2 /lib/rbcodec/dsp/tdspeed.h
parent4dd3c2b33ec3d181f54cc1bcf5b596401a8cfcbb (diff)
downloadrockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.tar.gz
rockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.zip
add const to const * strings
I don't think this will amke any difference except maybe for hosted ports Change-Id: I84f898aea92a6963901a6d889dd18b63f24c9a41
Diffstat (limited to 'lib/rbcodec/dsp/tdspeed.h')
-rw-r--r--lib/rbcodec/dsp/tdspeed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbcodec/dsp/tdspeed.h b/lib/rbcodec/dsp/tdspeed.h
index 2949c1bee9..84920ac7c2 100644
--- a/lib/rbcodec/dsp/tdspeed.h
+++ b/lib/rbcodec/dsp/tdspeed.h
@@ -34,6 +34,7 @@
34 34
35#define STRETCH_MAX (250L * PITCH_SPEED_PRECISION) /* 250% */ 35#define STRETCH_MAX (250L * PITCH_SPEED_PRECISION) /* 250% */
36#define STRETCH_MIN (35L * PITCH_SPEED_PRECISION) /* 35% */ 36#define STRETCH_MIN (35L * PITCH_SPEED_PRECISION) /* 35% */
37#define TDSPEED_NBUFFERS 4
37 38
38void dsp_timestretch_enable(bool enable); 39void dsp_timestretch_enable(bool enable);
39void dsp_set_timestretch(int32_t percent); 40void dsp_set_timestretch(int32_t percent);