diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/test_codec.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index b1525ca30a..6b6ba00840 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c | |||
@@ -505,6 +505,12 @@ static enum codec_command_action get_command(intptr_t *param) | |||
505 | (void)param; | 505 | (void)param; |
506 | } | 506 | } |
507 | 507 | ||
508 | /* Some codecs call this to determine whether they should loop. */ | ||
509 | static bool loop_track(void) | ||
510 | { | ||
511 | return false; | ||
512 | } | ||
513 | |||
508 | static void set_offset(size_t value) | 514 | static void set_offset(size_t value) |
509 | { | 515 | { |
510 | ci.id3->offset = value; | 516 | ci.id3->offset = value; |
@@ -561,6 +567,7 @@ static void init_ci(void) | |||
561 | ci.set_offset = set_offset; | 567 | ci.set_offset = set_offset; |
562 | ci.configure = configure; | 568 | ci.configure = configure; |
563 | ci.get_command = get_command; | 569 | ci.get_command = get_command; |
570 | ci.loop_track = loop_track; | ||
564 | 571 | ||
565 | /* --- "Core" functions --- */ | 572 | /* --- "Core" functions --- */ |
566 | 573 | ||
@@ -578,7 +585,6 @@ static void init_ci(void) | |||
578 | ci.memmove = rb->memmove; | 585 | ci.memmove = rb->memmove; |
579 | ci.memcmp = rb->memcmp; | 586 | ci.memcmp = rb->memcmp; |
580 | ci.memchr = rb->memchr; | 587 | ci.memchr = rb->memchr; |
581 | ci.strcasestr = rb->strcasestr; | ||
582 | #if defined(DEBUG) || defined(SIMULATOR) | 588 | #if defined(DEBUG) || defined(SIMULATOR) |
583 | ci.debugf = rb->debugf; | 589 | ci.debugf = rb->debugf; |
584 | #endif | 590 | #endif |
@@ -587,7 +593,6 @@ static void init_ci(void) | |||
587 | #endif | 593 | #endif |
588 | 594 | ||
589 | ci.qsort = rb->qsort; | 595 | ci.qsort = rb->qsort; |
590 | ci.global_settings = rb->global_settings; | ||
591 | 596 | ||
592 | #ifdef RB_PROFILE | 597 | #ifdef RB_PROFILE |
593 | ci.profile_thread = rb->profile_thread; | 598 | ci.profile_thread = rb->profile_thread; |