summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/tests
Commit message (Collapse)AuthorAgeFilesLines
* Enable clang compilation.Chih-Hung Hsieh2015-05-151-6/+0
| | | | | | | | Previous clang/llvm bug was fixed. BUG: 18373866 Change-Id: I10888d0bc1cf8f621c719a705b1f77ff0d0ecca5 (cherry picked from commit 1ab4ff2355e934517751e40573e4163cb49b1676)
* TimestretchBufferProvider integration with Sonic LibraryRicardo Garcia2015-04-131-2/+4
| | | | | | | | Using Sonic as backbone for time stretching algorithm. Adding libsonic to needed makefiles. bug: 19196501 Change-Id: I1ea9221d2f56e4e79fba8746ce0ad350b5079e82
* Factor out buffer provider code from AudioMixerAndy Hung2015-04-081-0/+1
| | | | | | | In preparation for playback rate support and timestretching. Bug: 19196501 Change-Id: I435accb852d32110dd0b3a9917488522c567ba80
* Return number of frames output from resample methodAndy Hung2015-04-081-1/+4
| | | | Change-Id: Ic297e2ed59839f1788c83e099ef1a9e4af29591f
* Improve resampler speed for floating point and arm64Andy Hung2015-03-032-2/+2
| | | | | | | | Add floating point intrinsics for arm32 and arm64 devices. Add integer intrinsics for arm64 devices. Bug: 17366024 Change-Id: Id4240f549033deb262815c7145d69820e5fd7b92
* Merge "Fix AudioMixer floating interaction with downmixer"Andy Hung2014-11-192-36/+68
|\
| * Fix AudioMixer floating interaction with downmixerAndy Hung2014-11-072-36/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously _if_ the full floating point mixer is enabled, a downmixer would force the mixer input for a session submix to integer, breaking other mixer inputs to the same submix that were in float. Use another ReformatBufferProvider after the downmixer to solve this issue. Update the test-mixer app and the mixer_to_wave_tests shell script to detect this issue. Bug: 17363939 Change-Id: I74a56333f9ee75ddde39a75392c021c5eebddbef
* | Disable clang++ due to compiler error.Chih-Hung Hsieh2014-11-141-0/+6
| | | | | | | | | | | | | | | | Clang++ chokes on AudioMixer.cpp. It does not know "how to split this operator." BUG: 18373866 Change-Id: I3d588d44596c7c3b6f97e5f822545e015b074206
* | Move to libc++.Dan Albert2014-11-111-14/+3
|/ | | | | | | This also cleans up some makefile cruft. Bug: 15193147 Change-Id: Ia53ca4f6fb2153f4e77e6f696eb27dcaae73a78e
* Fix build warningsGlenn Kasten2014-07-293-9/+9
| | | | Change-Id: Ife5e40264f43fb3ccb40830228701003fe106bf5
* Add multichannel capability to AudioMixerAndy Hung2014-07-243-10/+30
| | | | | | | | tests/test-mixer updated to handle multichannel. New mixer path is still disabled (kUseNewMixer = false). Subsequent CL will enable multichannel capability. Change-Id: I71dafa94cc1d9af567c285e0ded7c5c94e3ff926
* 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>
* Add test-mixer AudioMixer test programAndy Hung2014-06-203-0/+458
| | | | | | | The shell script mixer_to_wav_tests.sh shows how to use test-mixer. Change-Id: Ia7f1a368972c9c33fadc96df4cb1fc8b22446c8c
* Extract out test utility functions from resampler_testsAndy Hung2014-06-183-202/+322
| | | | | | These will be used for mixer tests later. Change-Id: I22b1c89857058cfb2450afe15e80d6c9306a31f1
* Add tests directory for AudioFlingerAndy Hung2014-05-284-0/+535
Native tests for audio resampler through gtest framework. Change-Id: Ia340ca51f9b9b78d67e03e3541e4462b98578c95