mpc stream properties structure More...
#include <streaminfo.h>
Public Attributes | |
| mpc_streaminfo_off_t | header_position |
| Byte offset of position of header in stream. | |
| mpc_streaminfo_off_t | tag_offset |
| Offset to file tags. | |
| mpc_streaminfo_off_t | total_file_length |
| Total length of underlying file. | |
Core mpc stream properties | |
| mpc_uint32_t | sample_freq |
| Sample frequency of stream. | |
| mpc_uint32_t | channels |
| Number of channels in stream. | |
| mpc_uint32_t | stream_version |
| Streamversion of stream. | |
| mpc_uint32_t | bitrate |
| Bitrate of stream file (in bps). | |
| double | average_bitrate |
| Average bitrate of stream (in bits/sec). | |
| mpc_uint32_t | max_band |
| Maximum band-index used in stream (0...31). | |
| mpc_uint32_t | ms |
| Mid/side stereo (0: off, 1: on). | |
| mpc_uint32_t | fast_seek |
| True if stream supports fast-seeking (sv7). | |
| mpc_uint32_t | block_pwr |
| Number of frames in a block = 2^block_pwr (sv8). | |
Replaygain properties | |
| mpc_uint16_t | gain_title |
| Replaygain title value. | |
| mpc_uint16_t | gain_album |
| Replaygain album value. | |
| mpc_uint16_t | peak_album |
| Peak album loudness level. | |
| mpc_uint16_t | peak_title |
| Peak title loudness level. | |
True gapless properties | |
| mpc_uint32_t | is_true_gapless |
| True gapless? (0: no, 1: yes). | |
| mpc_uint64_t | samples |
| Number of samples in the stream. | |
| mpc_uint64_t | beg_silence |
| Number of samples that must not be played at the beginning of the stream. | |
Encoder informations | |
| mpc_uint32_t | encoder_version |
| Version of encoder used. | |
| char | encoder [256] |
| Encoder name. | |
| mpc_bool_t | pns |
| pns used | |
| float | profile |
| Quality profile of stream. | |
| const char * | profile_name |
| Name of profile used by stream. | |
mpc stream properties structure
Structure containing all the properties of an mpc stream. Populated by the streaminfo_read function.
Definition at line 54 of file streaminfo.h.
1.6.1