MP3GainWrapperApplyChannelGain(String, MP3GainChannel, Int32, Boolean) Method
Applies a volume gain change on the specified audio file.
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 ApplyChannelGain(
string filepath,
MP3GainChannel channel,
int gainLevel,
bool preserveDatestamp = true
)
Public Function ApplyChannelGain (
filepath As String,
channel As MP3GainChannel,
gainLevel As Integer,
Optional preserveDatestamp As Boolean = true
) As Integer
Dim instance As MP3GainWrapper
Dim filepath As String
Dim channel As MP3GainChannel
Dim gainLevel As Integer
Dim preserveDatestamp As Boolean
Dim returnValue As Integer
returnValue = instance.ApplyChannelGain(filepath,
channel, gainLevel, preserveDatestamp)
public:
int ApplyChannelGain(
String^ filepath,
MP3GainChannel channel,
int gainLevel,
bool preserveDatestamp = true
)
member ApplyChannelGain :
filepath : string *
channel : MP3GainChannel *
gainLevel : int *
?preserveDatestamp : bool
(* Defaults:
let _preserveDatestamp = defaultArg preserveDatestamp true
*)
-> int
No code example is currently available or this language may not be supported.
- filepath String
-
The audio filepath.
- channel MP3GainChannel
-
The stereo channel for which to apply the gain change.
- gainLevel Int32
-
The volume gain change, in decibels.
- 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)
ArgumentOutOfRangeException
|
gainLevel;Value from range -100 to +100 is required.
|