foobar2000 SDK
2015-08-03
|
#include <replaygain_scanner.h>
Public Member Functions | |
virtual float | get_gain ()=0 |
virtual float | get_peak ()=0 |
replaygain_info | make_track_info () |
virtual replaygain_result::ptr | merge (replaygain_result::ptr other)=0 |
Public Member Functions inherited from service_base | |
template<typename outPtr_t > | |
bool | cast (outPtr_t &outPtr) |
virtual int | service_add_ref ()=0 throw () |
virtual bool | service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid) |
template<class T > | |
bool | service_query_t (service_ptr_t< T > &p_out) |
virtual int | service_release ()=0 throw () |
Private Member Functions | |
FB2K_MAKE_SERVICE_INTERFACE (replaygain_result, service_base) | |
Additional Inherited Members | |
Public Types inherited from service_base | |
typedef service_base | t_interface |
Protected Member Functions inherited from service_base | |
service_base () | |
~service_base () | |
Container of ReplayGain scan results from one or more tracks.
Definition at line 2 of file replaygain_scanner.h.
|
private |
|
pure virtual |
Retrieves the gain value, in dB.
|
pure virtual |
Retrieves the peak value, normalized to 0..1 range (audio_sample value).
|
inline |
Definition at line 13 of file replaygain_scanner.h.
|
pure virtual |
Merges ReplayGain scan results from different tracks. Merge results from all tracks in an album to get album gain/peak values.
This function returns a newly created replaygain_result object. Existing replaygain_result objects remain unaltered.