ConverterConvertToWav(FileInfo, String, WavBitdepth, WavFrequency, WavChannelMode, CoreConverterDspEffect, Boolean, CoreConverterPriority, Int32) Method
Converts a file to uncompressed WAV.
Namespace: DevCase.ThirdParty.DBpowerampAssembly: DevCase.net48.ThirdParty.DBpoweramp (in DevCase.net48.ThirdParty.DBpoweramp.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
Public Function ConvertToWav (
inFile As FileInfo,
outFile As String,
bitDepth As WavBitdepth,
frequency As WavFrequency,
channels As WavChannelMode,
Optional dspEffects As CoreConverterDspEffect = CoreConverterDspEffect.None,
Optional preserveTags As Boolean = true,
Optional priority As CoreConverterPriority = CoreConverterPriority.Normal,
Optional processorAffinity As Integer = 1
) As Integer
Dim instance As Converter
Dim inFile As FileInfo
Dim outFile As String
Dim bitDepth As WavBitdepth
Dim frequency As WavFrequency
Dim channels As WavChannelMode
Dim dspEffects As CoreConverterDspEffect
Dim preserveTags As Boolean
Dim priority As CoreConverterPriority
Dim processorAffinity As Integer
Dim returnValue As Integer
returnValue = instance.ConvertToWav(inFile,
outFile, bitDepth, frequency, channels,
dspEffects, preserveTags, priority,
processorAffinity)
No code example is currently available or this language may not be supported.
- inFile FileInfo
-
The file to convert.
- outFile String
-
The output filepath.
- bitDepth WavBitdepth
-
The bit depth.
- frequency WavFrequency
-
The frequency.
- channels WavChannelMode
-
The channel mode.
- dspEffects CoreConverterDspEffect (Optional)
-
The CoreConverter DSP effects.
- preserveTags Boolean (Optional)
-
Indicates whether the file should preserve tags after conversion.
- priority CoreConverterPriority (Optional)
-
The CoreConverter.exe process priority.
- processorAffinity Int32 (Optional)
-
The amount of processors used by CoreConverter.exe.
Int32
The process exit code.