mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
![]() The abs max of a 16 bit integer cannot be represented as a 16 bit integer, because abs(-2^16) is too large. To work around this, we can instead use the index of the max element, convert it to a 32-bit int and then take the absolute value. Bug: chromium:1158070, chromium:1146835, chromium:1161837 Change-Id: If56177c55ec62b4bd578986a5deae38a91bbc821 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/198123 Commit-Queue: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32950} |
||
---|---|---|
.. | ||
cng | ||
g711 | ||
g722 | ||
ilbc | ||
isac | ||
opus | ||
pcm16b | ||
red | ||
tools | ||
audio_decoder.h | ||
audio_encoder.h | ||
builtin_audio_decoder_factory_unittest.cc | ||
builtin_audio_encoder_factory_unittest.cc | ||
legacy_encoded_audio_frame.cc | ||
legacy_encoded_audio_frame.h | ||
legacy_encoded_audio_frame_unittest.cc |