diff options
author | waker <wakeroid@gmail.com> | 2012-08-02 20:20:10 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-08-02 20:20:10 +0200 |
commit | e373d25a2f7198906cb16b529c216dc5d0556ae1 (patch) | |
tree | fb6cac55d345f66f44f3efc90a1d3e88193f9baa /plugins/alac/stream.h | |
parent | 002d8c063496bbaa4d781c2812b1f28d28902c23 (diff) |
alac: implemented seeking
Diffstat (limited to 'plugins/alac/stream.h')
-rw-r--r-- | plugins/alac/stream.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/alac/stream.h b/plugins/alac/stream.h index ae5881e4..2e32e4a7 100644 --- a/plugins/alac/stream.h +++ b/plugins/alac/stream.h @@ -24,15 +24,15 @@ uint16_t stream_read_uint16(stream_t *stream); int8_t stream_read_int8(stream_t *stream); uint8_t stream_read_uint8(stream_t *stream); -void stream_skip(stream_t *stream, size_t skip); +void stream_skip(stream_t *stream, int64_t skip); int stream_eof(stream_t *stream); -long stream_tell(stream_t *stream); -int stream_setpos(stream_t *stream, long pos); +int64_t stream_tell(stream_t *stream); +int64_t stream_setpos(stream_t *stream, int64_t pos); stream_t *stream_create_file(DB_FILE *file, - int bigendian); + int bigendian, int64_t junk_offset); void stream_destroy(stream_t *stream); #endif /* STREAM_H */ |