OSDN Git Service

Improve dynamic audio resampler filter generation
authorAndy Hung <hunga@google.com>
Fri, 3 Jan 2014 20:30:41 +0000 (12:30 -0800)
committerAndy Hung <hunga@google.com>
Thu, 9 Jan 2014 01:54:27 +0000 (17:54 -0800)
commit6582f2b14a21e630654c5522ef9ad64e80d5058d
tree69dee04c065feec40569f144281f36e885b7d15b
parent0bcfa88149e2404b34d13c622e3921e1b846cdf8
Improve dynamic audio resampler filter generation

Improve dynamic audio resampler filter generation speed by 2x.
The resulting filters should be the same (excepting roundoff).

Also added check for upsampling sample rate changes to share
previously generated filters.

Modify the profiling to improve output format and sampling result
reliability.

Change-Id: I9aa6b914fd552a63f79dd4a95945df2f8275772a
Signed-off-by: Andy Hung <hunga@google.com>
services/audioflinger/AudioResamplerDyn.cpp
services/audioflinger/AudioResamplerDyn.h
services/audioflinger/AudioResamplerFirGen.h
services/audioflinger/test-resample.cpp