d906ad023d3608925c4afda5c3b70a24667db758 |
|
11-May-2017 |
Andy Hung <hunga@google.com> |
Merge "VolumeShaper: Fixes for updated Cts test" into oc-dev am: 2d12b8e367 Change-Id: Ic4e567226fa649c425199e9068a3dac29809c980
|
f370264dfa5237524a3535f5242a0c68cbbb13eb |
|
06-May-2017 |
Andy Hung <hunga@google.com> |
VolumeShaper: Fixes for updated Cts test 1) Limit number of VolumeShapers that can be created. a) 16 system VolumeShapers b) 16 application/client VolumeShapers 2) Return proper volume before VolumeShaper is started. 3) Consistent xOffset definition used internally: a) this is now always the position on the volumeshaper curve which can go backwards if in REVERSE. b) normalized time is always forward going and is scaled to 0.f and 1.f depending on progress relative to the curve's duration. 4) Fix replace method. 5) Add comments. Test: Use updated CTS VolumeShaperTest Bug: 37536598 Change-Id: I837ab2a481adc0abbd3f1338bfe2cb79831b11fa
/frameworks/av/include/media/Interpolator.h
|
549bd02a8421b0b53a1b5e8961a41cf551fce72d |
|
02-May-2017 |
Colin Cross <ccross@android.com> |
Fix -Wextra warnings in frameworks/av/include hardware/qcom/display includes frameworks/av/include headers while compiling with -Wextra. Fix warnings that were hidden by -isystem. Bug: 31751828 Test: lunch bullhead-userdebug && m -j checkbuild Change-Id: Ib1ee7165882ff3cc1d85c123815604079483f725
/frameworks/av/include/media/Interpolator.h
|
11280a15cb66d03f5ce020036e17d2defee311e2 |
|
02-May-2017 |
Colin Cross <ccross@android.com> |
Fix -Wextra warnings in frameworks/av/include hardware/qcom/display includes frameworks/av/include headers while compiling with -Wextra. Fix warnings that were hidden by -isystem. Bug: 31751828 Test: lunch bullhead-userdebug && m -j checkbuild Change-Id: Ib1ee7165882ff3cc1d85c123815604079483f725 (cherry picked from commit 27d3c6a32919b5773c0cb8eed6ebe8563954aeff)
/frameworks/av/include/media/Interpolator.h
|
1759bb5511fe1b6648e3da1b1e7ee98ca7aa2b1b |
|
28-Apr-2017 |
Colin Cross <ccross@android.com> |
Fix non-trivial warnings hidden by -isystem These warnings were hidden by -isystem. Bug: 31751828 Test: m -j checkbuild Change-Id: Ibb1aa07a6827fcbd29fc15291fcd90280c0f608d Merged-In: Ibb1aa07a6827fcbd29fc15291fcd90280c0f608d (cherry picked from commit 6f51c153ea5e4187a313e47ac8bad9a1a999d4e1)
/frameworks/av/include/media/Interpolator.h
|
da540db0fc21bc9319d9602aefe1a109d00a7e6c |
|
20-Apr-2017 |
Andy Hung <hunga@google.com> |
VolumeShaper: improve logging and dumpsys Test: CTS and dumpsys Bug: 37536598 Change-Id: I9a838a8605defde3aaf42a872e48f01425df0f0e
/frameworks/av/include/media/Interpolator.h
|
9fc8b5cd4a64ef07e84c69112461324d5c13a0b0 |
|
24-Jan-2017 |
Andy Hung <hunga@google.com> |
VolumeShaper: Initial implementation The VolumeShaper is used to apply a volume envelope to an AudioTrack or a MediaPlayer. Test: CTS Bug: 30920125 Bug: 31015569 Change-Id: I42e2f13bd6879299dc780e60d143c2d465483a44
/frameworks/av/include/media/Interpolator.h
|