16 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)
40 return stream >> value.m_source_mode >> value.m_processing_mode >> value.m_preamp_with_rg >> value.m_preamp_without_rg;
43 return stream << value.m_source_mode << value.m_processing_mode << value.m_preamp_with_rg << value.m_preamp_without_rg;
53 virtual HWND configure_embedded(
const t_replaygain_config & p_initdata,HWND p_parent,
unsigned p_id,
bool p_from_modal) = 0;
58 virtual bool configure_popup(
t_replaygain_config & p_data,HWND p_parent,
const char * p_title) = 0;
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
t_source_mode m_source_mode
void info(const char *p_message)
bool operator==(const t_replaygain_config &other) const
float m_preamp_without_rg
Structure containing ReplayGain scan results from some playable object, also providing various helper...
Main interface class for information about some playable object.
Structure storing ReplayGain configuration: album/track source data modes, gain/peak processing modes...
audio_sample query_scale(const file_info &info) const
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Core service providing methods to retrieve/alter playback ReplayGain settings, as well as use ReplayG...
FB2K_STREAM_READER_OVERLOAD(t_replaygain_config)
FB2K_STREAM_WRITER_OVERLOAD(t_replaygain_config)
bool operator!=(const t_replaygain_config &other) const
t_uint32 t_processing_mode
static bool equals(const t_replaygain_config &v1, const t_replaygain_config &v2)
t_processing_mode m_processing_mode