diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-05-10 15:15:10 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-05-10 15:15:10 +0000 |
commit | a7a2baa97f8ee7c4d1b751d66f095120b9f62778 (patch) | |
tree | 6a1aa6bfe374f54ff6bce704f56e172994ea9443 /apps/codecs/libmusepack/reader.h | |
parent | 27bb9986f6e0bfc8f21a2dc1317accd2c6097048 (diff) | |
download | rockbox-a7a2baa97f8ee7c4d1b751d66f095120b9f62778.tar.gz rockbox-a7a2baa97f8ee7c4d1b751d66f095120b9f62778.zip |
Some changes for musepack: Disable SV4-SV6 support (I guess I am the only one who oned such). Remove tabs, perform some minor code beautification and add ICONST_ATTR to some requantization constants.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17438 a1c6a512-1295-4272-9138-f99709370657
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; |