From 5a8f5b833093961096c7787ed46a18b4d69b554c Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 9 May 2011 21:19:11 +0000 Subject: 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 --- apps/buffering.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/buffering.h') 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); -- cgit v1.1