Skip to content

IOFileConversion.ConvertToWav Method

Definition

Converts a file to WAV format with an optional custom sample rate.

public static WavFile ConvertToWav(IOFile source, uint sampleRateHz = 44100);

View source

Parameters

Name Type Description
source IOFile The source file to convert.
sampleRateHz UInt32 The sample rate in Hz.

Returns

WavFile

The converted WAV file.