Karl Wiberg 0163fb2ad7 AudioCodingModuleImpl::Encode: Use a Buffer instead of a stack-allocated array
The Buffer is saved between calls, so after the initial allocation
it'll already be allocated and of the right size. The stack-allocated
array had the advantage of requiring no heap allocation at all, but
for most popular encoders it ended up allocating about 15 kB too much,
and now that we allow user-defined encoders there was also the
(remote) possibility that the buffer would actually be too small.

R=henrik.lundin@webrtc.org

Review URL: https://codereview.webrtc.org/1303413003 .

Cr-Commit-Position: refs/heads/master@{#9789}
2015-08-26 18:24:31 +00:00
..
2015-08-18 04:05:59 +00:00
2015-04-01 15:08:49 +00:00
2015-08-11 17:43:09 +00:00
2015-07-16 07:30:20 +00:00
2015-07-16 07:30:20 +00:00
2012-10-22 18:19:23 +00:00
2012-10-22 18:19:23 +00:00
2012-10-22 18:19:23 +00:00
2015-07-16 07:30:20 +00:00
2015-05-20 05:20:04 +00:00
2015-06-29 21:35:08 +00:00
2015-07-16 07:30:20 +00:00

Name: WebRTC
URL: http://www.webrtc.org
Version: 90
License: BSD
License File: LICENSE

Description:
WebRTC provides real time voice and video processing
functionality to enable the implementation of 
PeerConnection/MediaStream.

Third party code used in this project is described 
in the file LICENSE_THIRD_PARTY.