foobar2000 SDK
2015-08-03
|
#include <replaygain.h>
Public Types | |
enum | { source_mode_none, source_mode_track, source_mode_album, source_mode_byPlaybackOrder } |
enum | { processing_mode_none, processing_mode_gain, processing_mode_gain_and_peak, processing_mode_peak } |
typedef t_uint32 | t_processing_mode |
typedef t_uint32 | t_source_mode |
Public Member Functions | |
t_replaygain_config () | |
t_replaygain_config (t_source_mode p_source_mode, t_processing_mode p_processing_mode, float p_preamp_without_rg, float p_preamp_with_rg) | |
void | format_name (pfc::string_base &p_out) const |
bool | is_active () const |
bool | operator!= (const t_replaygain_config &other) const |
bool | operator== (const t_replaygain_config &other) const |
audio_sample | query_scale (const file_info &info) const |
audio_sample | query_scale (const metadb_handle_ptr &info) const |
audio_sample | query_scale (const replaygain_info &info) const |
void | reset () |
Static Public Member Functions | |
static bool | equals (const t_replaygain_config &v1, const t_replaygain_config &v2) |
Data Fields | |
float | m_preamp_with_rg |
float | m_preamp_without_rg |
t_processing_mode | m_processing_mode |
t_source_mode | m_source_mode |
Structure storing ReplayGain configuration: album/track source data modes, gain/peak processing modes and preamp values.
Definition at line 2 of file replaygain.h.
Definition at line 13 of file replaygain.h.
Definition at line 13 of file replaygain.h.
anonymous enum |
Enumerator | |
---|---|
source_mode_none | |
source_mode_track | |
source_mode_album | |
source_mode_byPlaybackOrder |
Definition at line 4 of file replaygain.h.
anonymous enum |
Enumerator | |
---|---|
processing_mode_none | |
processing_mode_gain | |
processing_mode_gain_and_peak | |
processing_mode_peak |
Definition at line 12 of file replaygain.h.
|
inline |
Definition at line 15 of file replaygain.h.
|
inline |
Definition at line 16 of file replaygain.h.
|
inlinestatic |
Definition at line 32 of file replaygain.h.
void t_replaygain_config::format_name | ( | pfc::string_base & | p_out | ) | const |
Definition at line 100 of file replaygain.cpp.
bool t_replaygain_config::is_active | ( | ) | const |
Definition at line 178 of file replaygain.cpp.
|
inline |
Definition at line 36 of file replaygain.h.
|
inline |
Definition at line 35 of file replaygain.h.
audio_sample t_replaygain_config::query_scale | ( | const file_info & | info | ) | const |
Definition at line 11 of file replaygain.cpp.
audio_sample t_replaygain_config::query_scale | ( | const metadb_handle_ptr & | info | ) | const |
Definition at line 61 of file replaygain.cpp.
audio_sample t_replaygain_config::query_scale | ( | const replaygain_info & | info | ) | const |
Definition at line 16 of file replaygain.cpp.
void t_replaygain_config::reset | ( | ) |
Definition at line 3 of file replaygain.cpp.
float t_replaygain_config::m_preamp_with_rg |
Definition at line 22 of file replaygain.h.
float t_replaygain_config::m_preamp_without_rg |
Definition at line 22 of file replaygain.h.
t_processing_mode t_replaygain_config::m_processing_mode |
Definition at line 21 of file replaygain.h.
t_source_mode t_replaygain_config::m_source_mode |
Definition at line 20 of file replaygain.h.