MP3GainWrapperUndoGain(String, Boolean) Method

Undoes the gain changes made on the specified audio file.

The file must contain a valid APEv2 tag containing MP3Gain information.

Definition

Namespace: DevCase.ThirdParty.MP3Gain
Assembly: DevCase.net48.ThirdParty.MP3gain (in DevCase.net48.ThirdParty.MP3gain.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public int UndoGain(
	string filepath,
	bool preserveDatestamp = true
)

Parameters

filepath  String
The audio filepath.
preserveDatestamp  Boolean  (Optional)
If set to , the file date is untouched after successful task.

Return Value

Int32
The process exit code.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed applications:

MP3Gain (mp3gain.exe)

Exceptions

Exception Nothing to undo, because the audio file does not contain a valid APEv2 tag generated byMP3Gain.

See Also