summaryrefslogtreecommitdiff
path: root/apps/buffering.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-03-16 05:38:37 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-03-16 05:38:37 +0000
commit56dd75d204f861785ca78ae1c6eb506d5f2ea7e9 (patch)
tree19809cf7976dd47513171bac706a061ef130b2b2 /apps/buffering.h
parentdce799641d2f75feda39b087f03a1f64620f3d6b (diff)
downloadrockbox-56dd75d204f861785ca78ae1c6eb506d5f2ea7e9.tar.gz
rockbox-56dd75d204f861785ca78ae1c6eb506d5f2ea7e9.zip
Purge buffer and codec APIs existing exclusively in support of mpa.codec and fix that to not require them: buf_get_offset and ci.advance_buffer_loc. Sort APIs; everything must become incompatible. :(
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29595 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/buffering.h')
-rw-r--r--apps/buffering.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/buffering.h b/apps/buffering.h
index c3a9f928d1..34d6d641c7 100644
--- a/apps/buffering.h
+++ b/apps/buffering.h
@@ -91,14 +91,12 @@ ssize_t bufcuttail(int handle_id, size_t size);
91 * SECONDARY FUNCTIONS 91 * SECONDARY FUNCTIONS
92 * =================== 92 * ===================
93 * 93 *
94 * buf_get_offset: Get a handle offset from a pointer
95 * buf_handle_offset: Get the offset of the first buffered byte from the file 94 * buf_handle_offset: Get the offset of the first buffered byte from the file
96 * buf_request_buffer_handle: Request buffering of a handle 95 * buf_request_buffer_handle: Request buffering of a handle
97 * buf_set_base_handle: Tell the buffering thread which handle is currently read 96 * buf_set_base_handle: Tell the buffering thread which handle is currently read
98 * buf_used: Total amount of buffer space used (including allocated space) 97 * buf_used: Total amount of buffer space used (including allocated space)
99 ****************************************************************************/ 98 ****************************************************************************/
100 99
101ssize_t buf_get_offset(int handle_id, void *ptr);
102ssize_t buf_handle_offset(int handle_id); 100ssize_t buf_handle_offset(int handle_id);
103void buf_request_buffer_handle(int handle_id); 101void buf_request_buffer_handle(int handle_id);
104void buf_set_base_handle(int handle_id); 102void buf_set_base_handle(int handle_id);