An old piece of work to reverse engineer the Mac OSX user/kernel audio interface.  Shows how to read audio straight out of the kernel as you would on Darwin (where most the OSX goodness is missing)