MP3GainWrapperUndoGain(FileInfo, Boolean) Method
Undoes the gain changes made on the specified audio file.
The audio file must contain a valid
APEv2 tag generated by
MP3Gain.
Namespace: DevCase.ThirdParty.MP3GainAssembly: 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(
FileInfo file,
bool preserveDatestamp = true
)
Public Function UndoGain (
file As FileInfo,
Optional preserveDatestamp As Boolean = true
) As Integer
Dim instance As MP3GainWrapper
Dim file As FileInfo
Dim preserveDatestamp As Boolean
Dim returnValue As Integer
returnValue = instance.UndoGain(file,
preserveDatestamp)
public:
int UndoGain(
FileInfo^ file,
bool preserveDatestamp = true
)
member UndoGain :
file : FileInfo *
?preserveDatestamp : bool
(* Defaults:
let _preserveDatestamp = defaultArg preserveDatestamp true
*)
-> int
No code example is currently available or this language may not be supported.
- file FileInfo
-
The audio file.
- preserveDatestamp Boolean (Optional)
-
If set to , the file date is untouched after successful task.
Int32
The process exit code.
Note: Some functionalities of this assembly may require to install one or all of the listed applications:
MP3Gain (mp3gain.exe)
Exception
|
Nothing to undo, because the audio file does not contain a valid APEv2 tag generated byMP3Gain.
|