summaryrefslogtreecommitdiff
path: root/apps/abrepeat.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/abrepeat.c')
-rw-r--r--apps/abrepeat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/abrepeat.c b/apps/abrepeat.c
index b83a7b6aa3..fc1913d37b 100644
--- a/apps/abrepeat.c
+++ b/apps/abrepeat.c
@@ -111,13 +111,13 @@ reasonable amount of time for the typical user to react */
111 111
112void ab_jump_to_A_marker(void) 112void ab_jump_to_A_marker(void)
113{ 113{
114#if (CONFIG_CODEC == SWCODEC) 114#if (CONFIG_CODEC != SWCODEC)
115 audio_seamless_seek(ab_A_marker);
116#else
117 bool paused = (audio_status() & AUDIO_STATUS_PAUSE) != 0; 115 bool paused = (audio_status() & AUDIO_STATUS_PAUSE) != 0;
118 if ( ! paused ) 116 if ( ! paused )
119 audio_pause(); 117 audio_pause();
118#endif
120 audio_ff_rewind(ab_A_marker); 119 audio_ff_rewind(ab_A_marker);
120#if (CONFIG_CODEC != SWCODEC)
121 if ( ! paused ) 121 if ( ! paused )
122 audio_resume(); 122 audio_resume();
123#endif 123#endif