summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.h
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-01-21 22:42:44 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-01-21 22:42:44 +0000
commita3868d35d3621e700abfd51de61ac6f83908a472 (patch)
treea90cc5fb4c285864a182cdb7b1f328ce7324a0a7 /apps/pcmbuf.h
parent3458be2d9da84c159c3957316839271ea01193ba (diff)
downloadrockbox-a3868d35d3621e700abfd51de61ac6f83908a472.tar.gz
rockbox-a3868d35d3621e700abfd51de61ac6f83908a472.tar.bz2
rockbox-a3868d35d3621e700abfd51de61ac6f83908a472.zip
Continue to update playback status after decoding is complete (the progress bar makes it to 100%!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8407 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.h')
-rw-r--r--apps/pcmbuf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/pcmbuf.h b/apps/pcmbuf.h
index 9031db60b1..7e7ecf1d75 100644
--- a/apps/pcmbuf.h
+++ b/apps/pcmbuf.h
@@ -30,8 +30,6 @@ bool pcmbuf_is_crossfade_active(void);
/* These functions are for playing chained buffers of PCM data */
bool pcmbuf_add_chunk(void *addr, int size, void (*callback)(void));
-int pcmbuf_num_used_buffers(void);
-void pcmbuf_set_watermark(int numbytes, void (*callback)(int bytes_left));
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
void pcmbuf_boost(bool state);
@@ -45,6 +43,7 @@ void pcmbuf_flush_audio(void);
void pcmbuf_play_start(void);
bool pcmbuf_crossfade_init(void);
void pcmbuf_add_event(void (*event_handler)(void));
+void pcmbuf_set_position_callback(void (*callback)(int size));
unsigned int pcmbuf_get_latency(void);
bool pcmbuf_insert_buffer(char *buf, long length);
void pcmbuf_flush_buffer(long length);