diff options
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/misc.c b/apps/misc.c index d72d7a4da0..b027215ccc 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -504,19 +504,6 @@ static void unplug_change(bool inserted) | |||
504 | { | 504 | { |
505 | headphone_caused_pause = true; | 505 | headphone_caused_pause = true; |
506 | pause_action(false, false); | 506 | pause_action(false, false); |
507 | |||
508 | if (global_settings.unplug_rw) | ||
509 | { | ||
510 | #if (CONFIG_CODEC == SWCODEC) | ||
511 | audio_pre_ff_rewind(); | ||
512 | #endif | ||
513 | if (audio_current_track()->elapsed > | ||
514 | (unsigned long)(global_settings.unplug_rw*1000)) | ||
515 | audio_ff_rewind(audio_current_track()->elapsed - | ||
516 | (global_settings.unplug_rw*1000)); | ||
517 | else | ||
518 | audio_ff_rewind(0); | ||
519 | } | ||
520 | } | 507 | } |
521 | } | 508 | } |
522 | } | 509 | } |