This toolkit has been has been created to make life a little easier for CoreAudio framework users.
The audiopipein and audiopipeout objects make it much easier to do simple audio work than does the CoreAudio framework. The resampler is a quick hack to resample audio since the CoreAudio framework only seems to be able to handle 44.1 kHz.
The CoreAudio framework runs a callback in another thread to get samples to send to the speaker and to post data from the microphone.
This is much more difficult than usual on UNIX, where doing simple things with audio means just dumping bytes down a pipe to play, or reading from a pipe to record. The functions simulate that, and the command-line tools show an example of usage.
How to install and run: Unarchive, open a Terminal window, go to the OpenVPN`s folder and run the following commands from the command line:
make ./mikepipe > record.example (interrupt with control-C) ./speakerpipe < record.example