summaryrefslogtreecommitdiff
path: root/apps/codecs/libmusepack/reader.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2008-05-10 15:15:10 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2008-05-10 15:15:10 +0000
commita7a2baa97f8ee7c4d1b751d66f095120b9f62778 (patch)
tree6a1aa6bfe374f54ff6bce704f56e172994ea9443 /apps/codecs/libmusepack/reader.h
parent27bb9986f6e0bfc8f21a2dc1317accd2c6097048 (diff)
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.h12
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 @@
/// a functional reader.
typedef struct mpc_reader_t {
/// Reads size bytes of data into buffer at ptr.
- mpc_int32_t (*read)(void *t, void *ptr, mpc_int32_t size);
+ mpc_int32_t (*read)(void *t, void *ptr, mpc_int32_t size);
/// Seeks to byte position offset.
- mpc_bool_t (*seek)(void *t, mpc_int32_t offset);
+ mpc_bool_t (*seek)(void *t, mpc_int32_t offset);
/// Returns the current byte offset in the stream.
- mpc_int32_t (*tell)(void *t);
+ mpc_int32_t (*tell)(void *t);
/// Returns the total length of the source stream, in bytes.
- mpc_int32_t (*get_size)(void *t);
+ mpc_int32_t (*get_size)(void *t);
/// True if the stream is a seekable stream.
- mpc_bool_t (*canseek)(void *t);
+ mpc_bool_t (*canseek)(void *t);
/// Field that can be used to identify a particular instance of
/// reader or carry along data associated with that reader.
@@ -65,7 +65,7 @@ typedef struct mpc_reader_t {
} mpc_reader;
/* No standard STDIO based reader in Rockbox
typedef struct mpc_reader_file_t {
- mpc_reader reader;
+ mpc_reader reader;
FILE *file;
long file_size;