diff options
Diffstat (limited to 'firmware/target/arm/imx233/pcm-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/pcm-imx233.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/firmware/target/arm/imx233/pcm-imx233.c b/firmware/target/arm/imx233/pcm-imx233.c index c06120e4aa..4738485b3d 100644 --- a/firmware/target/arm/imx233/pcm-imx233.c +++ b/firmware/target/arm/imx233/pcm-imx233.c | |||
@@ -175,17 +175,6 @@ void pcm_dma_apply_settings(void) | |||
175 | pcm_play_unlock(); | 175 | pcm_play_unlock(); |
176 | } | 176 | } |
177 | 177 | ||
178 | const void *pcm_play_dma_get_peak_buffer(int *count) | ||
179 | { | ||
180 | if(!dac_freezed) | ||
181 | imx233_dma_freeze_channel(APB_AUDIO_DAC, true); | ||
182 | struct imx233_dma_info_t info = imx233_dma_get_info(APB_AUDIO_DAC, DMA_INFO_AHB_BYTES | DMA_INFO_BAR); | ||
183 | if(!dac_freezed) | ||
184 | imx233_dma_freeze_channel(APB_AUDIO_DAC, false); | ||
185 | *count = info.ahb_bytes; | ||
186 | return (void *)info.bar; | ||
187 | } | ||
188 | |||
189 | /* | 178 | /* |
190 | * Recording | 179 | * Recording |
191 | */ | 180 | */ |