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)
downloadrockbox-33a62e8a8ebe8039101a2333e71bc2c2de8e5225.tar.gz
rockbox-33a62e8a8ebe8039101a2333e71bc2c2de8e5225.zip
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 */
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