summaryrefslogtreecommitdiffstats
path: root/apps/rbcodec_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/rbcodec_helpers.c')
-rw-r--r--apps/rbcodec_helpers.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/rbcodec_helpers.c b/apps/rbcodec_helpers.c
index b412bb3aa4..78e068ded7 100644
--- a/apps/rbcodec_helpers.c
+++ b/apps/rbcodec_helpers.c
@@ -59,18 +59,12 @@ static struct buflib_callbacks ops =
/* Allocate timestretch buffers */
bool tdspeed_alloc_buffers(int32_t **buffers, const int *buf_s, int nbuf)
{
- static const char *buffer_names[4] = {
- "tdspeed ovl L",
- "tdspeed ovl R",
- "tdspeed out L",
- "tdspeed out R"
- };
-
+ /* #Buffer index - 0 ovl L, 1 ovl R, 2 out L, 3 out R */
for (int i = 0; i < nbuf; i++)
{
if (handles[i] <= 0)
{
- handles[i] = core_alloc_ex(buffer_names[i], buf_s[i], &ops);
+ handles[i] = core_alloc_ex("tdspeed", buf_s[i], &ops);
if (handles[i] <= 0)
return false;