replaygain_result Class Reference

Container of ReplayGain scan results from one or more tracks. More...

#include <replaygain_scanner.h>

Inheritance diagram for replaygain_result:

service_base

List of all members.

Public Member Functions

virtual float get_gain ()=0
 Retrieves the gain value, in dB.
virtual float get_peak ()=0
 Retrieves the peak value, normalized to 0..1 range (audio_sample value).
virtual replaygain_result::ptr merge (replaygain_result::ptr other)=0


Detailed Description

Container of ReplayGain scan results from one or more tracks.

Member Function Documentation

virtual float replaygain_result::get_gain (  )  [pure virtual]

Retrieves the gain value, in dB.

virtual float replaygain_result::get_peak (  )  [pure virtual]

Retrieves the peak value, normalized to 0..1 range (audio_sample value).

virtual replaygain_result::ptr replaygain_result::merge ( replaygain_result::ptr  other  )  [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.


The documentation for this class was generated from the following files:

Generated on Thu Aug 28 21:15:58 2008 for foobar2000 SDK by  doxygen 1.5.5