summaryrefslogtreecommitdiffstats
path: root/firmware/export/pcm_playback.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-06-27 19:29:49 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-06-27 19:29:49 +0000
commit85f49731065d0730022a92c3144c963ef8927a88 (patch)
treec359019b2eecf347f05d83c58a20d38122350ae3 /firmware/export/pcm_playback.h
parent492424bce0da0dede81531fb9d20a8455699e208 (diff)
downloadrockbox-85f49731065d0730022a92c3144c963ef8927a88.tar.gz
rockbox-85f49731065d0730022a92c3144c963ef8927a88.zip
Replaced some size_t with longs. That might solve some problems. Fixed
also problem where codec buffer length indicator goes negative. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6898 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pcm_playback.h')
-rw-r--r--firmware/export/pcm_playback.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/pcm_playback.h b/firmware/export/pcm_playback.h
index 3fe60670b3..07e33e96bf 100644
--- a/firmware/export/pcm_playback.h
+++ b/firmware/export/pcm_playback.h
@@ -48,9 +48,9 @@ bool pcm_is_lowdata(void);
bool pcm_crossfade_init(void);
void audiobuffer_add_event(void (*event_handler)(void));
unsigned int audiobuffer_get_latency(void);
-bool pcm_insert_buffer(char *buf, size_t length);
-void pcm_flush_buffer(size_t length);
-void* pcm_request_buffer(size_t length, size_t *realsize);
+bool pcm_insert_buffer(char *buf, long length);
+void pcm_flush_buffer(long length);
+void* pcm_request_buffer(long length, long *realsize);
bool pcm_is_crossfade_enabled(void);
void pcm_crossfade_enable(bool on_off);