Recorder: Correct WAV header creation
* ByteRate = SampleRate * NumChannels * BitsPerSample/8 * The previous calculation was off by a factor of 10 * BlockAlign = NumChannels * BitsPerSample/8 * The previous calculation was off by a factor of 2 * While we're at it, reorder the byte-rate formula to make more logical sense -- NumChannels * SampleRate * BitsPerSample/8 * Source: http://soundfile.sapp.org/doc/WaveFormat/ Change-Id: I579e4b6833044114a594b371167a6087f57c01a5
Loading
Please register or sign in to comment