summaryrefslogtreecommitdiff
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-02-19 20:40:03 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-02-19 20:40:03 +0000
commit6c399b82544fca6db45f0475ec558ec79b963fc7 (patch)
tree09fd7a75f8479ae159458352f3afee6f86c3ece3 /apps/pcmbuf.c
parent1ad58f9757de11248e74ca52c3288e177ac2760b (diff)
downloadrockbox-6c399b82544fca6db45f0475ec558ec79b963fc7.tar.gz
rockbox-6c399b82544fca6db45f0475ec558ec79b963fc7.zip
Use DMA for audio playback on PP502x (FS#9910 + some further mods). I can't say at this point about any change in battery life but it frees up a percent or two of CPU cycles as measured in the buffering screen. No change in recording transfers yet. Testing seemed to check out so put it out for general use and see what happens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20052 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 7d2c579e42..9143e32660 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -18,10 +18,9 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
22#include <stdbool.h>
23#include <stdio.h> 21#include <stdio.h>
24#include "config.h" 22#include "config.h"
23#include "system.h"
25#include "debug.h" 24#include "debug.h"
26#include "panic.h" 25#include "panic.h"
27#include <kernel.h> 26#include <kernel.h>
@@ -31,7 +30,6 @@
31#ifndef SIMULATOR 30#ifndef SIMULATOR
32#include "cpu.h" 31#include "cpu.h"
33#endif 32#endif
34#include "system.h"
35#include <string.h> 33#include <string.h>
36#include "buffer.h" 34#include "buffer.h"
37#include "settings.h" 35#include "settings.h"