summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/tests/resampler_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Return number of frames output from resample methodAndy Hung2015-04-081-1/+4
| | | | Change-Id: Ic297e2ed59839f1788c83e099ef1a9e4af29591f
* Fix build warningsGlenn Kasten2014-07-291-1/+1
| | | | Change-Id: Ife5e40264f43fb3ccb40830228701003fe106bf5
* Fix multichannel integer resampling and add testsAndy Hung2014-07-211-9/+101
| | | | Change-Id: I384bf8317d4f03616bf9f2b458a8700965d5cf56
* Add floating point volume handling to AudioMixerAndy Hung2014-07-081-5/+6
| | | | | | | | | | | | | | | Use floating point volume in AudioMixer mixing when floating point input is used with the new mixer engine. AudioResampler is updated to take floating point volume to match. Both legacy integer and floating point mixer engines work. For now, integer volume is used when the new mixer engine runs in integer input mode, for backward compatibility with the legacy mixer. The new mixer engine will generally run in floating point input mode. When the legacy path is removed, the integer volumes will be removed. Change-Id: I79e80c292ae7c8b8bdd0aa371a1b2c3a1b618290
* Replace int bitDepth with audio_format_t in ResamplerAndy Hung2014-07-071-4/+5
| | | | | | | | Remove mBitDepth from class (not used). Replace with audio_format_t in factory method to distinguish between float and pcm 16-bit. Change-Id: I166860796c68285077ef4458d8758d19b82523f9
* Add and enable multichannel for audio resamplerAndy Hung2014-07-021-14/+51
| | | | | Change-Id: I2b86fb73d70abc4c456f7567270a888086b301d4 Signed-off-by: Andy Hung <hunga@google.com>
* Extract out test utility functions from resampler_testsAndy Hung2014-06-181-202/+11
| | | | | | These will be used for mixer tests later. Change-Id: I22b1c89857058cfb2450afe15e80d6c9306a31f1
* Add tests directory for AudioFlingerAndy Hung2014-05-281-0/+471
Native tests for audio resampler through gtest framework. Change-Id: Ia340ca51f9b9b78d67e03e3541e4462b98578c95