#include "soundfile.h" int writeWaveFile(char *path, SOUNDINFO *info, void *samples);
|path||File into which WAV data will be written.|
|info||Metadata for the sound data.|
|samples||Buffer that points to the data to be written.|
SOUND_FILE_FOPEN_ERROR if the file
specified by path cannot be opened. Returns
Creates a WAV file specified by path. The samples
argument points to the sound data to be written; the info
structure describes the sound data. The buffer pointed to by samples must have a length equal to or less
The samples must be little-endian and have 16-bit alignment.
|Wii U (Host PC only)||Do not call this function on the Wii U console. It is available only on the host PC.|
2013/05/08 Automated cleanup pass.
2011/02/21 Initial version.