The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
saveAsWAV
audioformats
Encode a slice to a WAV file.
bool
saveAsWAV
(const(float)[] data, const(char)[] filePath, int numChannels, float sampleRate, EncodingOptions options)
nothrow @
nogc
bool
saveAsWAV
(
const
(
float
)[]
data
,
const
(
char
)[]
filePath
,
int
numChannels
= 1
,
float
sampleRate
= 44100.0f
,
EncodingOptions
options
=
EncodingOptions.init
)
bool
saveAsWAV
(const(double)[] data, const(char)[] filePath, int numChannels, float sampleRate, EncodingOptions options)
Return Value
Type:
bool
true
on success.
Meta
Source
See Implementation
audioformats
modules
dopus
drflac
io
libxm
minimp3
minimp3_ex
pocketmod
qoa
stb_vorbis2
stream
wav
functions
freeEncodedAudio
saveAsWAV
toWAV
Encode a slice to a WAV file.