summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-07-01 17:13:33 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-07-01 17:13:33 +0000
commit4ec80704d5f34a167d45db7539f47b12cc23c59e (patch)
treeed7817859db6f254db1734db2df1d45f3996c39e
parent6d887afc3ee29a18f91b3d19a495d236940d7295 (diff)
Fixed pause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6968 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/pcm_playback.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index 58d68cadbd..894df6ba0d 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -270,8 +270,9 @@ void pcm_play_pause(bool play)
{
logf("unpause");
/* Reset chunk size so dma has enough data to fill the fifo. */
- SAR0 = (unsigned long)next_start;
- BCR0 = next_size;
+ /* This shouldn't be needed anymore. */
+ //SAR0 = (unsigned long)next_start;
+ //BCR0 = next_size;
/* Enable the FIFO and force one write to it */
IIS2CONFIG = (pcm_freq << 12) | 0x300 | 4 << 2;
EBU1CONFIG = 7 << 12 | 3 << 8 | 5 << 2;