|static string||ReadString (FileReader &reader)|
|static void||WriteString (const string str, FileWriter &writer)|
|static const uint32_t||RIFF_HEADER_SIZE = 44|
Implementation of Samples
The format of .wav PCM encoded files is fairly simple. The "verbatim" 'RIFF' etc. is written as is in the file. The numbers are always written in the little endian way.
This makes the whole thing 44 bytes + the actual payload long.
Definition in file sample.cpp.