WaveHeader constructor
Construct a WaveHeader, with fields initialized.
@param format format of audio data, one of {@link #FORMAT_PCM}, {@link #FORMAT_ULAW}, or {@link #FORMAT_ALAW}. @param numChannels 1 for mono, 2 for stereo. @param sampleRate typically 8000, 11025, 16000, 22050, or 44100 hz. @param bitsPerSample usually 16 for PCM, 8 for ULAW or 8 for ALAW. @param numBytes size of audio data after this header, in bytes.
Implementation
WaveHeader(this.mFormat, this.mNumChannels, this.mSampleRate,
this.mBitsPerSample, this.mNumBytes);