Chromium Code Reviews
DescriptionLazily allocate WSOLA structures; saves 56kB to 765kB of memory.
These structures aren't needed until we actually attempt a playback
rate adaptation, so don't bother allocating them until we do. This
saves a few tens to hundreds of kilobytes of memory based on the
channel layout.
Stereo 48kHz: 57592 bytes
Stereo 192kHz: 230392 bytes
7.1 48kHz: 195808 bytes
7.1 192kHz: 783328 bytes
BUG=666813
TEST=none
Committed: https://crrev.com/c9f01b2a8a5f2df7198f4c62faf9e6750451033a
Cr-Commit-Position: refs/heads/master@{#434265}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|
||||||||||||||||||||||||||||