Do a search for I_CaptureTest in the following code -- http://www.openal.org/repos/openal/trunk/contrib/tests/altest/altest.c -- that should serve as a good example. Garin