Audio processing: Feed each processing step its choice of int or float data

Each audio processing step is given a pointer to an AudioBuffer, where
it can read and write int data. This patch adds corresponding
AudioBuffer methods to read and write float data; the buffer will
automatically convert the stored data between int and float as

This patch also modifies the echo cancellation step to make use of the
new methods (it was already using floats internally; now it doesn't
have to convert from and to ints anymore).

(The reference data to the ApmTest.Process test had to be modified
slightly; this is because the echo canceller no longer unnecessarily
converts float data to int and then immediately back to float for each
iteration in the loop in EchoCancellationImpl::ProcessCaptureAudio.)


Review URL:

git-svn-id: 4adac7df-926f-26a2-2b94-8c16560cd09d
1 file changed
tree: a1ee07eaf98664f27eea48a8c2d3b5c19b73c255
  1. audio_processing/
  2. common_video/
  3. rtp_rtcp/
  4. voice_engine/