diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-02-08 22:32:41 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-02-08 22:32:41 +0000 |
commit | 94537f954e67d44fdd9703c062c4ee53599e0e74 (patch) | |
tree | 5dc555914ba4c6f943a90b0804fef9a5fead4a33 /firmware/export/pcm.h | |
parent | 0222d0a5ebcc0be2e511abeb3ea8fbe7b4df8475 (diff) | |
download | rockbox-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.h | 4 |
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; | |||
90 | extern unsigned long pcm_sampr; | 90 | extern unsigned long pcm_sampr; |
91 | extern int pcm_fsel; | 91 | extern int pcm_fsel; |
92 | 92 | ||
93 | #ifdef HAVE_PCM_DMA_ADDRESS | ||
94 | void * 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 */ |
94 | extern volatile pcm_more_callback_type pcm_callback_for_more; | 98 | extern volatile pcm_more_callback_type pcm_callback_for_more; |
95 | extern volatile bool pcm_playing; | 99 | extern volatile bool pcm_playing; |