this(string filename, WavFileHeader header)
Opens the file with the given header params.
WavWriter(WavFileHeader(44100, 2, 16));
Calls close. Errors are ignored.
A postblit is present on this object, but not explicitly documented in the source.
bool open(string filename)
bool write(ubyte data)
Writes 8-bit samples to the file. You must have constructed the object with an 8 bit header.
bool write(short data)
Writes 16-bit samples to the file. You must have constructed the object with 16 bit header.