VLC 4.0.0-dev
|
Go to the source code of this file.
Data Structures | |
struct | audio_replay_gain_t |
Audio replay gain. More... | |
Macros | |
#define | AUDIO_REPLAY_GAIN_TRACK (0) |
Index for track values. | |
#define | AUDIO_REPLAY_GAIN_ALBUM (1) |
Index for album values. | |
#define | AUDIO_REPLAY_GAIN_MAX (2) |
Number of replay gain types. | |
Functions | |
int | vlc_replay_gain_CopyFromMeta (audio_replay_gain_t *p_dst, const vlc_meta_t *p_meta) |
Extracts replay gain info from metadata and copies it into a replay gain structure. | |
float | replay_gain_CalcMultiplier (vlc_object_t *obj, const audio_replay_gain_t *p_rg) |
Calculates the replay gain multiplier according to the Replay Gain 2.0 Specification. | |
static void | replay_gain_Merge (audio_replay_gain_t *p_dst, const audio_replay_gain_t *p_src) |
Merges replay gain structures. | |
static bool | replay_gain_Compare (const audio_replay_gain_t *p_a, const audio_replay_gain_t *p_b) |
Compares two replay gain structures. | |
static void | replay_gain_Reset (audio_replay_gain_t *p_rg) |
Reset replay gain structure values. | |