Rev | Line | |
---|
[14] | 1 | |
---|
| 2 | ALUT Test Suite |
---|
| 3 | ~~~~~~~~~~~~~~~ |
---|
| 4 | |
---|
| 5 | These programs are not intended to be particularly excellent |
---|
| 6 | programming style (some of them are downright terrible!) - but |
---|
| 7 | they do provide a reasonable way to test out that ALUT is working |
---|
| 8 | correctly. |
---|
| 9 | |
---|
| 10 | test_version : Tests that the ALUT header file version agrees with |
---|
| 11 | the ALUT library version. |
---|
| 12 | |
---|
| 13 | test_waveforms : Plays a second of 440Hz audio using a variety of waveforms |
---|
| 14 | in order to exercise the ALUT sound synthesis routines. |
---|
| 15 | |
---|
| 16 | test_errorstuff : Tries to load a non-existant file in order to test ALUT's |
---|
| 17 | error handler. |
---|
| 18 | |
---|
| 19 | test_fileloader : Loads three files (in different formats) using ALUT's |
---|
| 20 | 'standard' file loader. |
---|
| 21 | |
---|
| 22 | test_memoryloader: Loads a WAV file into memory - then uses ALUT's |
---|
| 23 | 'File Image' loader. |
---|
| 24 | |
---|
| 25 | test_retrostuff : Loads a WAV file using the two old-fashioned methods from |
---|
| 26 | ALUT 0.x.x |
---|
| 27 | |
---|
| 28 | If compiling these programs produces lots of errors, then you've probably |
---|
| 29 | got an old ALUT header file lying around somewhere. If that's the case |
---|
| 30 | then the 'test_version' program should at least have compiled. You |
---|
| 31 | can run it to verify the version numbers of both header and ALUT library |
---|
| 32 | binary. |
---|
| 33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.