#include <reader.h>
Public Attributes | |
mpc_int32_t(* | read )(void *t, void *ptr, mpc_int32_t size) |
Reads size bytes of data into buffer at ptr. | |
mpc_bool_t(* | seek )(void *t, mpc_int32_t offset) |
Seeks to byte position offset. | |
mpc_int32_t(* | tell )(void *t) |
Returns the current byte offset in the stream. | |
mpc_int32_t(* | get_size )(void *t) |
Returns the total length of the source stream, in bytes. | |
mpc_bool_t(* | canseek )(void *t) |
True if the stream is a seekable stream. | |
void * | data |
This is the structure you must supply to the musepack decoding library to feed it with raw data. Implement the five member functions to provide a functional reader.
Definition at line 45 of file reader.h.
|
Field that can be used to identify a particular instance of reader or carry along data associated with that reader. Definition at line 63 of file reader.h. Referenced by JumpID3v2(), and mpc_streaminfo_read(). |