Fix shortened floating point WAV file write

Also fix minor robustness issue in sf_open_write in case
the target WAV file is opened in a protected directory.

Change-Id: I4f9a0e2ba92b9e851bd034e40169513e7e08a92b
1 file changed
tree: bd7c7cee619a3d1584bfc8b100654125751bc683
  1. audio_effects/
  2. audio_route/
  3. audio_utils/
  4. camera/
  5. private/
  6. CleanSpec.mk