diff options
Diffstat (limited to 'firmware/export/pcm.h')
-rw-r--r-- | firmware/export/pcm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/export/pcm.h b/firmware/export/pcm.h index 1660f0670d..ac8ddb1b3c 100644 --- a/firmware/export/pcm.h +++ b/firmware/export/pcm.h | |||
@@ -57,7 +57,7 @@ typedef int (*pcm_more_callback_type2)(int status); | |||
57 | /* set the pcm frequency - use values in hw_sampr_list | 57 | /* set the pcm frequency - use values in hw_sampr_list |
58 | * use -1 for the default frequency | 58 | * use -1 for the default frequency |
59 | */ | 59 | */ |
60 | void pcm_set_frequency(unsigned int frequency); | 60 | void pcm_set_frequency(unsigned int samplerate); |
61 | /* apply settings to hardware immediately */ | 61 | /* apply settings to hardware immediately */ |
62 | void pcm_apply_settings(void); | 62 | void pcm_apply_settings(void); |
63 | 63 | ||
@@ -87,6 +87,8 @@ bool pcm_is_playing(void); | |||
87 | specific portion **/ | 87 | specific portion **/ |
88 | 88 | ||
89 | extern unsigned long pcm_curr_sampr; | 89 | extern unsigned long pcm_curr_sampr; |
90 | extern unsigned long pcm_sampr; | ||
91 | extern int pcm_fsel; | ||
90 | 92 | ||
91 | /* the registered callback function to ask for more mp3 data */ | 93 | /* the registered callback function to ask for more mp3 data */ |
92 | extern volatile pcm_more_callback_type pcm_callback_for_more; | 94 | extern volatile pcm_more_callback_type pcm_callback_for_more; |
@@ -102,6 +104,8 @@ void pcm_play_dma_pause(bool pause); | |||
102 | void pcm_play_dma_stopped_callback(void); | 104 | void pcm_play_dma_stopped_callback(void); |
103 | const void * pcm_play_dma_get_peak_buffer(int *count); | 105 | const void * pcm_play_dma_get_peak_buffer(int *count); |
104 | 106 | ||
107 | void pcm_dma_apply_settings(void); | ||
108 | |||
105 | #ifdef HAVE_RECORDING | 109 | #ifdef HAVE_RECORDING |
106 | 110 | ||
107 | /** RAW PCM recording routines **/ | 111 | /** RAW PCM recording routines **/ |