previous next Up Title Contents

Generic Programming (AudPerGen.c)

At this level of programming, the module associated with each process can be assigned dynamically via parameter files. Thus different modules can be conveniently selected for the same test program, or left out altogether, without re-compiling the test program. A single test, written using the generic coding conventions can therefore serve a plethora of uses. Both the high-level programming levels have been designed to hide any programming complexities. Generic programming uses the Do...(...) command as a simple interface to module usage; the module management system comes into play invisibly.

In the sections that follow the simple test program, "AudPerGen.c" written using the generic coding convention is explained. The complete program listing with a test parameters file listing can be found in Appendix ??, and the files themselves can be found in the "lutear/Examples" directory. Running the program should produce the following screen output:-



previous next Up Title Contents