Record support for Sun audio backend. Also do some general improvements and get it more in line with the OSS backend.