From f6c4dec60e6e2c39c4c696ccff6eeda075378d31 Mon Sep 17 00:00:00 2001 From: neonloop Date: Fri, 25 Mar 2022 21:33:00 +0000 Subject: Adds passthrough resampler when core rate is supported Small improvement to performance --- plat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plat.h') diff --git a/plat.h b/plat.h index 9a0d969..fdcb1a9 100644 --- a/plat.h +++ b/plat.h @@ -28,7 +28,7 @@ void plat_video_close(void); unsigned plat_cpu_ticks(void); float plat_sound_capacity(void); -void plat_sound_write(const struct audio_frame *data, int frames); +extern void (*plat_sound_write)(const struct audio_frame *data, int frames); void plat_sound_resize_buffer(void); #endif /* __PLAT_H__ */ -- cgit v1.2.3