Avoided a couple of MSVC warnings.
Fixed return value of an AudioUnit method to stop auval complaining.