diff options
Diffstat (limited to 'firmware/export/pcm_record.h')
-rw-r--r-- | firmware/export/pcm_record.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/export/pcm_record.h b/firmware/export/pcm_record.h index 38ec202cdc..30d2dc7e6f 100644 --- a/firmware/export/pcm_record.h +++ b/firmware/export/pcm_record.h | |||
@@ -60,4 +60,16 @@ int pcm_get_num_unprocessed(void); | |||
60 | 60 | ||
61 | /* audio.h contains audio_* recording functions */ | 61 | /* audio.h contains audio_* recording functions */ |
62 | 62 | ||
63 | |||
64 | /** The following are for internal use between pcm_record.c and target- | ||
65 | specific portion **/ | ||
66 | /* the registered callback function for when more data is available */ | ||
67 | extern volatile pcm_more_callback_type pcm_callback_more_ready; | ||
68 | /* DMA transfer in is currently active */ | ||
69 | extern volatile bool pcm_recording; | ||
70 | |||
71 | /* APIs implemented in the target-specific portion */ | ||
72 | extern void pcm_rec_dma_start(const void *addr, size_t size); | ||
73 | extern void pcm_rec_dma_stop(void); | ||
74 | |||
63 | #endif /* PCM_RECORD_H */ | 75 | #endif /* PCM_RECORD_H */ |