diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2011-05-09 21:19:11 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2011-05-09 21:19:11 +0000 |
| commit | 5a8f5b833093961096c7787ed46a18b4d69b554c (patch) | |
| tree | 2517f7513c407454498fc5d9b000544312dd3fc3 /apps/buffering.h | |
| parent | 12e8e432368a300517a789bd6045502964ad95cf (diff) | |
| download | rockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.zip rockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.tar.gz rockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.tar.bz2 rockbox-5a8f5b833093961096c7787ed46a18b4d69b554c.tar.xz | |
Provide a reasonable fix for FS#12093 - Playback hanging after codec/playback rework. Also, get rid of an impossible buffering case (BUF_USED is always less than buffer_len) and remove a buffering API that is not used anywhere and shouldn't be needed (plugin API has to be incompatible).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29849 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/buffering.h')
| -rw-r--r-- | apps/buffering.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/buffering.h b/apps/buffering.h index 2e4cfd3..ee3e7c9 100644 --- a/apps/buffering.h +++ b/apps/buffering.h @@ -95,7 +95,6 @@ ssize_t bufcuttail(int handle_id, size_t size); * buf_is_handle: is the handle valid? * buf_pin_handle: Disallow/allow handle movement. Handle may still be removed. * buf_handle_offset: Get the offset of the first buffered byte from the file - * buf_request_buffer_handle: Request buffering of a handle * buf_set_base_handle: Tell the buffering thread which handle is currently read * buf_length: Total size of ringbuffer * buf_used: Total amount of buffer space used (including allocated space) @@ -106,7 +105,6 @@ enum data_type buf_handle_data_type(int handle_id); ssize_t buf_handle_remaining(int handle_id); bool buf_is_handle(int handle_id); ssize_t buf_handle_offset(int handle_id); -void buf_request_buffer_handle(int handle_id); void buf_set_base_handle(int handle_id); size_t buf_length(void); size_t buf_used(void); |