aboutsummaryrefslogtreecommitdiff
path: root/plat.h
diff options
context:
space:
mode:
authorneonloop2022-03-25 21:33:00 +0000
committerneonloop2022-03-25 21:33:00 +0000
commitf6c4dec60e6e2c39c4c696ccff6eeda075378d31 (patch)
tree39cba19a9b0d9784f867f95f7cfc69e4f9926e48 /plat.h
parent61aab598a031c2ef4023cbcc60d31391f8479c0d (diff)
downloadpicoarch-f6c4dec60e6e2c39c4c696ccff6eeda075378d31.tar.gz
picoarch-f6c4dec60e6e2c39c4c696ccff6eeda075378d31.tar.bz2
picoarch-f6c4dec60e6e2c39c4c696ccff6eeda075378d31.zip
Adds passthrough resampler when core rate is supported
Small improvement to performance
Diffstat (limited to 'plat.h')
-rw-r--r--plat.h2
1 files changed, 1 insertions, 1 deletions
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__ */