SoundBuffer.saveToFile

Save the sound buffer to an audio file.

The supported audio formats are: WAV, OGG/Vorbis, FLAC.

class SoundBuffer
bool
saveToFile
(
const(char)[] filename
)

Parameters

filename
Type: const(char)[]

Path of the sound file to write

Return Value

Type: bool

true if saving succeeded, false if it failed.

Meta