From 51189b4cb41fb70f4800286f99573f590941ddea Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 6 Dec 2006 08:34:55 +0000 Subject: Small change to PCM recording API for low latency effects. Latency can be as low as 14 samples from input to output including the FIFOs (ColdFire) but 16 is more reasonable an expectation if only tranferring one sample per interrupt (\!). May convert PCM playback to use the same method as it can still be used in the old manner with some slight mods but has the potential to enable new features since it is more flexible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11668 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/pcm_playback.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/export/pcm_playback.h') diff --git a/firmware/export/pcm_playback.h b/firmware/export/pcm_playback.h index e7c00edeed..80a1f557fe 100644 --- a/firmware/export/pcm_playback.h +++ b/firmware/export/pcm_playback.h @@ -24,6 +24,7 @@ /* Typedef for registered callback (play and record) */ typedef void (*pcm_more_callback_type)(unsigned char **start, size_t *size); +typedef int (*pcm_more_callback_type2)(int status); void pcm_init(void); -- cgit v1.2.3