IOFileConversion.ConvertToWav Method
Definition
Converts a file to WAV format with an optional custom sample rate.
c#
public static WavFile ConvertToWav(IOFile source, uint sampleRateHz = 44100);Parameters
| Name | Type | Description |
|---|---|---|
source | IOFile | The source file to convert. |
sampleRateHz | UInt32 | The sample rate in Hz. |
Returns
The converted WAV file.