added code for new port audio stuff