From 94537f954e67d44fdd9703c062c4ee53599e0e74 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 8 Feb 2009 22:32:41 +0000 Subject: 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 --- firmware/export/pcm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/export/pcm.h') 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; extern unsigned long pcm_sampr; extern int pcm_fsel; +#ifdef HAVE_PCM_DMA_ADDRESS +void * pcm_dma_addr(void *addr); +#endif + /* the registered callback function to ask for more mp3 data */ extern volatile pcm_more_callback_type pcm_callback_for_more; extern volatile bool pcm_playing; -- cgit v1.2.3