diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2005-07-01 17:13:33 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2005-07-01 17:13:33 +0000 |
commit | 4ec80704d5f34a167d45db7539f47b12cc23c59e (patch) | |
tree | ed7817859db6f254db1734db2df1d45f3996c39e /firmware | |
parent | 6d887afc3ee29a18f91b3d19a495d236940d7295 (diff) | |
download | rockbox-4ec80704d5f34a167d45db7539f47b12cc23c59e.tar.gz rockbox-4ec80704d5f34a167d45db7539f47b12cc23c59e.zip |
Fixed pause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6968 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/pcm_playback.c | 5 |
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) | |||
270 | { | 270 | { |
271 | logf("unpause"); | 271 | logf("unpause"); |
272 | /* Reset chunk size so dma has enough data to fill the fifo. */ | 272 | /* Reset chunk size so dma has enough data to fill the fifo. */ |
273 | SAR0 = (unsigned long)next_start; | 273 | /* This shouldn't be needed anymore. */ |
274 | BCR0 = next_size; | 274 | //SAR0 = (unsigned long)next_start; |
275 | //BCR0 = next_size; | ||
275 | /* Enable the FIFO and force one write to it */ | 276 | /* Enable the FIFO and force one write to it */ |
276 | IIS2CONFIG = (pcm_freq << 12) | 0x300 | 4 << 2; | 277 | IIS2CONFIG = (pcm_freq << 12) | 0x300 | 4 << 2; |
277 | EBU1CONFIG = 7 << 12 | 3 << 8 | 5 << 2; | 278 | EBU1CONFIG = 7 << 12 | 3 << 8 | 5 << 2; |