summaryrefslogtreecommitdiff
path: root/firmware/export/pcm.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-02-08 22:32:41 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-02-08 22:32:41 +0000
commit94537f954e67d44fdd9703c062c4ee53599e0e74 (patch)
tree5dc555914ba4c6f943a90b0804fef9a5fead4a33 /firmware/export/pcm.h
parent0222d0a5ebcc0be2e511abeb3ea8fbe7b4df8475 (diff)
downloadrockbox-94537f954e67d44fdd9703c062c4ee53599e0e74.tar.gz
rockbox-94537f954e67d44fdd9703c062c4ee53599e0e74.zip
Gigabeat S: Implement an SDMA API and use it in the PCM driver. Some other miscellaneous adjustments to recording and PCM buffer to accomodate use of physical addresses and cache coherency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19949 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pcm.h')
-rw-r--r--firmware/export/pcm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/pcm.h b/firmware/export/pcm.h
index 053f954767..444e0c9c09 100644
--- a/firmware/export/pcm.h
+++ b/firmware/export/pcm.h
@@ -90,6 +90,10 @@ extern unsigned long pcm_curr_sampr;
90extern unsigned long pcm_sampr; 90extern unsigned long pcm_sampr;
91extern int pcm_fsel; 91extern int pcm_fsel;
92 92
93#ifdef HAVE_PCM_DMA_ADDRESS
94void * pcm_dma_addr(void *addr);
95#endif
96
93/* the registered callback function to ask for more mp3 data */ 97/* the registered callback function to ask for more mp3 data */
94extern volatile pcm_more_callback_type pcm_callback_for_more; 98extern volatile pcm_more_callback_type pcm_callback_for_more;
95extern volatile bool pcm_playing; 99extern volatile bool pcm_playing;