Function AudioStreamSample.saveToWav

Saves the AudioStreamSample as a WAV file to path. Samples with IMA ADPCM format can't be saved. Note: A .wav extension is automatically appended to path if it is missing.

godot.core.defs.GodotError saveToWav (
  const(String) path
) nothrow @nogc;