RTT calcs are now added.
Improve audio_hardware interface.
Remove unused code.
Factor out open_ports function.