52 MPC_DECODER_SYNTH_DELAY = 481
55 typedef struct mpc_decoder_t mpc_decoder;
56 typedef struct mpc_demux_t mpc_demux;
96 #define MPC_OLD_GAIN_REF 64.82
116 mpc_bool_t use_title, mpc_bool_t clip_prevention);
MPC_API mpc_demux * mpc_demux_init(mpc_reader *p_reader)
unsigned int count
pointer on current byte
MPC_API void mpc_set_replay_level(mpc_demux *d, float level, mpc_bool_t use_gain, mpc_bool_t use_title, mpc_bool_t clip_prevention)
MPC_API void mpc_decoder_scale_output(mpc_decoder *p_dec, double scale_factor)
char * tag
size of the tag element (0 if no tag is present for this chapter)
MPC_API mpc_status mpc_demux_seek_second(mpc_demux *d, double seconds)
seeks to a given second
mpc_bool_t is_key_frame
frame samples buffer (size = samples * channels * sizeof(MPC_SAMPLE_FORMAT))
MPC_API mpc_seek_t mpc_demux_pos(mpc_demux *d)
MPC_API mpc_status mpc_demux_seek_sample(mpc_demux *d, mpc_uint64_t destsample)
seeks to a given sample
mpc_uint16_t peak
replaygain chapter value
mpc_int32_t bits
number of samples in the frame (counting once for multiple channels)
MPC_API mpc_int_t mpc_demux_chap_nb(mpc_demux *d)
chapters : only for sv8 streams
mpc_uint16_t gain
sample where the chapter starts
MPC_API void mpc_demux_get_info(mpc_demux *d, mpc_streaminfo *i)
get streaminfo
MPC_API mpc_status mpc_demux_decode(mpc_demux *d, mpc_frame_info *i)
decode frame
MPC_SAMPLE_FORMAT * buffer
number of bits consumed by this frame (-1) if end of stream
mpc_uint_t tag_size
peak chapter loudness level
MPC_API mpc_decoder * mpc_decoder_init(mpc_streaminfo *si)
MPC_API mpc_chap_info const * mpc_demux_chap(mpc_demux *d, int chap_nb)
MPC_API void mpc_decoder_exit(mpc_decoder *p_dec)
Releases input mpc decoder.
MPC_API void mpc_demux_exit(mpc_demux *d)
free demuxer
Required buffer size for decoder.
mpc stream properties structure