OK, I've now managed to compile a program that will take a raw 22kHz mono stream and decode AX.25.

What next?
- Read from Mic-in
- Change the sample rate
- Decode APRS
- Make GUI
- Try to optimize the code if it uses too much CPU power (I think there is some points floaating around in there, which should be eliminated)