diff options
Diffstat (limited to 'apps/codecs/libmusepack/reader.h')
-rw-r--r-- | apps/codecs/libmusepack/reader.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/codecs/libmusepack/reader.h b/apps/codecs/libmusepack/reader.h index 83ef589e8f..397319b292 100644 --- a/apps/codecs/libmusepack/reader.h +++ b/apps/codecs/libmusepack/reader.h | |||
@@ -44,19 +44,19 @@ | |||
44 | /// a functional reader. | 44 | /// a functional reader. |
45 | typedef struct mpc_reader_t { | 45 | typedef struct mpc_reader_t { |
46 | /// Reads size bytes of data into buffer at ptr. | 46 | /// Reads size bytes of data into buffer at ptr. |
47 | mpc_int32_t (*read)(void *t, void *ptr, mpc_int32_t size); | 47 | mpc_int32_t (*read)(void *t, void *ptr, mpc_int32_t size); |
48 | 48 | ||
49 | /// Seeks to byte position offset. | 49 | /// Seeks to byte position offset. |
50 | mpc_bool_t (*seek)(void *t, mpc_int32_t offset); | 50 | mpc_bool_t (*seek)(void *t, mpc_int32_t offset); |
51 | 51 | ||
52 | /// Returns the current byte offset in the stream. | 52 | /// Returns the current byte offset in the stream. |
53 | mpc_int32_t (*tell)(void *t); | 53 | mpc_int32_t (*tell)(void *t); |
54 | 54 | ||
55 | /// Returns the total length of the source stream, in bytes. | 55 | /// Returns the total length of the source stream, in bytes. |
56 | mpc_int32_t (*get_size)(void *t); | 56 | mpc_int32_t (*get_size)(void *t); |
57 | 57 | ||
58 | /// True if the stream is a seekable stream. | 58 | /// True if the stream is a seekable stream. |
59 | mpc_bool_t (*canseek)(void *t); | 59 | mpc_bool_t (*canseek)(void *t); |
60 | 60 | ||
61 | /// Field that can be used to identify a particular instance of | 61 | /// Field that can be used to identify a particular instance of |
62 | /// reader or carry along data associated with that reader. | 62 | /// reader or carry along data associated with that reader. |
@@ -65,7 +65,7 @@ typedef struct mpc_reader_t { | |||
65 | } mpc_reader; | 65 | } mpc_reader; |
66 | /* No standard STDIO based reader in Rockbox | 66 | /* No standard STDIO based reader in Rockbox |
67 | typedef struct mpc_reader_file_t { | 67 | typedef struct mpc_reader_file_t { |
68 | mpc_reader reader; | 68 | mpc_reader reader; |
69 | 69 | ||
70 | FILE *file; | 70 | FILE *file; |
71 | long file_size; | 71 | long file_size; |