Chromium Code Reviews
DescriptionCleanup of the AudioDeviceBuffer class.
WebRTC works on 10ms buffer sizes in both directions but this class has contained
support for any size (with some limits) and for changes on the fly. It makes no sense to maintain such code and we have no tests to test it. This CL ensures that only 10ms audio buffers are supported and that nothing can be changed on the fly.
It also updates the style to follow the Google C++ style guide.
Finally, I remove very old (not tested and not maintained) support for file
handling since the code is never used. It was more or less dead code.
BUG=NONE
R=magjed@webrtc.org
Committed: https://crrev.com/cf327b45b9f5738950d4fca2b6a7b6030d508cdf
Cr-Commit-Position: refs/heads/master@{#13833}
Patch Set 1 #Patch Set 2 : More changes #
Total comments: 3
Patch Set 3 : Removed virtual #Patch Set 4 : Restored virtual since this class is in fact mocked #Patch Set 5 : Allocates buffers lazily (when first needed) #Patch Set 6 : Ensures that all tests passes #
Messages
Total messages: 20 (9 generated)
|
||||||||||||||||||||||||||||