DescriptionConvert audio samples in Whispernet.
Currently we record at the system default sample rate and convert it to the
sample rate required by whispernet. This is no longer needed since Whispernet
now accepts a "broadcast sample rate" which can be different than the encoding
sample rate. To avoid the expensive resampling, we now need to pass the samples
to Whispernet without conversion and tell whispernet what the recording sample
rate was.
Also change the tests to test this functionality.
Reviews requested,
ckehoe@ - General review.
dalecurtis@ - DEPS review for //media
R=ckehoe@chromium.org, dalecurtis@chromium.org
BUG=454885
Committed: https://crrev.com/acb75a037014b791126cb5109da672325cd95203
Cr-Commit-Position: refs/heads/master@{#317411}
Patch Set 1 #
Total comments: 16
Patch Set 2 : #Patch Set 3 : remove unused define #Patch Set 4 : test fix. #Messages
Total messages: 14 (4 generated)
|