Added Richard Ranft's audio fixes to accommodate older hardware
Added alxCheckError to allow for cleaner code