35 #ifndef _MPCDEC_STREAMINFO_H_
36 #define _MPCDEC_STREAMINFO_H_
41 #include <mpc/mpc_types.h>
48 typedef mpc_int32_t mpc_streaminfo_off_t;
mpc_uint32_t channels
Number of channels in stream.
mpc_uint32_t sample_freq
Sample frequency of stream.
MPC_API double mpc_streaminfo_get_length(mpc_streaminfo *si)
mpc_uint64_t beg_silence
Number of samples that must not be played at the beginning of the stream.
char encoder[256]
Encoder name.
mpc_uint16_t peak_album
Peak album loudness level.
mpc_uint16_t peak_title
Peak title loudness level.
struct mpc_streaminfo mpc_streaminfo
mpc stream properties structure
mpc_uint64_t samples
Number of samples in the stream.
mpc_streaminfo_off_t total_file_length
Total length of underlying file.
mpc_uint32_t encoder_version
Version of encoder used.
float profile
Quality profile of stream.
mpc_uint32_t ms
Mid/side stereo (0: off, 1: on)
double average_bitrate
Average bitrate of stream (in bits/sec)
mpc_uint32_t max_band
Maximum band-index used in stream (0...31)
mpc_streaminfo_off_t header_position
Byte offset of position of header in stream.
mpc_uint32_t is_true_gapless
True gapless? (0: no, 1: yes)
mpc_streaminfo_off_t tag_offset
Offset to file tags.
mpc_uint16_t gain_album
Replaygain album value.
mpc_uint32_t fast_seek
True if stream supports fast-seeking (sv7)
const char * profile_name
Name of profile used by stream.
mpc_uint32_t stream_version
Streamversion of stream.
mpc_uint32_t block_pwr
Number of frames in a block = 2^block_pwr (sv8)
MPC_API mpc_int64_t mpc_streaminfo_get_length_samples(mpc_streaminfo *si)
mpc_uint16_t gain_title
Replaygain title value.
mpc_uint32_t bitrate
Bitrate of stream file (in bps)
mpc stream properties structure