diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config/gigabeats.h | 1 | ||||
-rw-r--r-- | firmware/export/pcm.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/config/gigabeats.h b/firmware/export/config/gigabeats.h index 2e489239b9..19a8fa4bf8 100644 --- a/firmware/export/config/gigabeats.h +++ b/firmware/export/config/gigabeats.h | |||
@@ -220,6 +220,7 @@ | |||
220 | /* #define HAVE_ADJUSTABLE_CPU_FREQ */ | 220 | /* #define HAVE_ADJUSTABLE_CPU_FREQ */ |
221 | 221 | ||
222 | #define HAVE_PCM_DMA_ADDRESS | 222 | #define HAVE_PCM_DMA_ADDRESS |
223 | #define HAVE_PCM_REC_DMA_ADDRESS | ||
223 | 224 | ||
224 | #define BOOTFILE_EXT "gigabeat" | 225 | #define BOOTFILE_EXT "gigabeat" |
225 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 226 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
diff --git a/firmware/export/pcm.h b/firmware/export/pcm.h index 0f8222f90d..0e71814b34 100644 --- a/firmware/export/pcm.h +++ b/firmware/export/pcm.h | |||
@@ -140,7 +140,6 @@ void pcm_calculate_rec_peaks(int *left, int *right); | |||
140 | 140 | ||
141 | /** The following are for internal use between pcm.c and target- | 141 | /** The following are for internal use between pcm.c and target- |
142 | specific portion **/ | 142 | specific portion **/ |
143 | extern volatile const void *pcm_rec_peak_addr; | ||
144 | /* the registered callback function for when more data is available */ | 143 | /* the registered callback function for when more data is available */ |
145 | extern volatile pcm_more_callback_type2 pcm_callback_more_ready; | 144 | extern volatile pcm_more_callback_type2 pcm_callback_more_ready; |
146 | /* DMA transfer in is currently active */ | 145 | /* DMA transfer in is currently active */ |
@@ -150,9 +149,10 @@ extern volatile bool pcm_recording; | |||
150 | void pcm_rec_dma_init(void); | 149 | void pcm_rec_dma_init(void); |
151 | void pcm_rec_dma_close(void); | 150 | void pcm_rec_dma_close(void); |
152 | void pcm_rec_dma_start(void *addr, size_t size); | 151 | void pcm_rec_dma_start(void *addr, size_t size); |
152 | void pcm_rec_dma_record_more(void *start, size_t size); | ||
153 | void pcm_rec_dma_stop(void); | 153 | void pcm_rec_dma_stop(void); |
154 | void pcm_rec_dma_stopped_callback(void); | 154 | void pcm_rec_dma_stopped_callback(void); |
155 | const void * pcm_rec_dma_get_peak_buffer(int *count); | 155 | const void * pcm_rec_dma_get_peak_buffer(void); |
156 | 156 | ||
157 | #endif /* HAVE_RECORDING */ | 157 | #endif /* HAVE_RECORDING */ |
158 | 158 | ||