summaryrefslogtreecommitdiff
path: root/apps/abrepeat.c
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-04-05 04:27:16 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-04-05 04:27:16 +0000
commit33a62e8a8ebe8039101a2333e71bc2c2de8e5225 (patch)
tree6bb12311091a554738f992ccdf76a60504b859eb /apps/abrepeat.c
parent4ff8744e55da1cbd6da70033dd6cdcff50d55cae (diff)
More work on swcodec. No significant pcmbuf functions are called from the audio thread now. Do not be surprised if seek or skip behavior gets weird after this, but it Works for Me (TM), and is a significant step in the right direction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9510 a1c6a512-1295-4272-9138-f99709370657
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 */
void ab_jump_to_A_marker(void)
{
-#if (CONFIG_CODEC == SWCODEC)
- audio_seamless_seek(ab_A_marker);
-#else
+#if (CONFIG_CODEC != SWCODEC)
bool paused = (audio_status() & AUDIO_STATUS_PAUSE) != 0;
if ( ! paused )
audio_pause();
+#endif
audio_ff_rewind(ab_A_marker);
+#if (CONFIG_CODEC != SWCODEC)
if ( ! paused )
audio_resume();
#endif