C# Class MPTagThat.Commands.CmdReplayGain

Inheritance: Command
Datei anzeigen Open project: MediaPortal/MPTagThat

Public Methods

Method Description
CmdReplayGain ( object parameters ) : System
Execute ( TrackData &track, int rowIndex ) : bool
PostProcess ( ) : bool

Post Process after command execution

PreProcess ( TrackData track ) : bool

Do Preprocessing of the Tracks

Private Methods

Method Description
AnalyzeSamples ( double left_samples, double right_samples, UIntPtr num_samples, int num_channels ) : int
GetAlbumGain ( ) : float
GetTitleGain ( ) : float
InitGainAnalysis ( long samplefreq ) : int
ReplayAnalyze ( int channel ) : void

Do a Replaygain and Peak analyses

ResetSampleFrequency ( long samplefreq ) : int

Method Details

CmdReplayGain() public method

public CmdReplayGain ( object parameters ) : System
parameters object
return System

Execute() public method

public Execute ( TrackData &track, int rowIndex ) : bool
track MPTagThat.Core.TrackData
rowIndex int
return bool

PostProcess() public method

Post Process after command execution
public PostProcess ( ) : bool
return bool

PreProcess() public method

Do Preprocessing of the Tracks
public PreProcess ( TrackData track ) : bool
track MPTagThat.Core.TrackData
return bool