summaryrefslogtreecommitdiffstats
path: root/firmware/export/pcm_playback.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-12-06 08:34:55 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-12-06 08:34:55 +0000
commit51189b4cb41fb70f4800286f99573f590941ddea (patch)
tree09ca4c9ee4f2ade25e811e5a1f9018a7814c78b3 /firmware/export/pcm_playback.h
parent1ff7652adf206eec517ae3236d02a5be9324942a (diff)
downloadrockbox-51189b4cb41fb70f4800286f99573f590941ddea.tar.gz
rockbox-51189b4cb41fb70f4800286f99573f590941ddea.zip
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
Diffstat (limited to 'firmware/export/pcm_playback.h')
-rw-r--r--firmware/export/pcm_playback.h1
1 files changed, 1 insertions, 0 deletions
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);