Change return value of audioHardwareSampleRate from double to float.

Change need to compile with newer version of Nix.

Reviewed by: Marcelo Lira