Cleaned up some pedantic warnings in the iOS build.
Improvements to handling of sample rates and buffer sizes in iOS audio.