From 33a62e8a8ebe8039101a2333e71bc2c2de8e5225 Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Wed, 5 Apr 2006 04:27:16 +0000 Subject: 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 --- apps/abrepeat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/abrepeat.c') 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 -- cgit v1.2.3