All words are stored little endian.
The sample data is 7bit unsigned (so #40 is the zero-level, #00 minimum, #7f maximum).
There will probably be a problem with small samples of e.g. 127 bytes.
The core-mixer-routine, which is rendering the output-stream out of the three channel-samples, doesn't test, if the end of a sample is reached, as this would require too much CPU time and would lower the frequency and so the quality a lot. So only every 1/50 second the player tests, if the end of a sample has been reached or passed. Depending on the frequency much more than 127 bytes of a sample have been processed, until the player checks for the end. A suggested sample size is at least 1000 bytes.
== Program modules ==