commit | 713eb44361ab763e2daec9755cd782c4755f6601 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Tue May 07 18:33:39 2024 -0700 |
committer | Andy Hung <hunga@google.com> | Fri Jun 14 19:13:28 2024 -0700 |
tree | 206dbaea775afd49fe7f10cc5b6199d5cc3fe66c | |
parent | 2718e0195adc0de3cf674a1ea98eda5e9c32e1fc [diff] |
hapticgenerator: Update fast-math settings Ensure infinities and nan are honored. Test: Treehugger Bug: 339319151 Merged-In: I4400bd16de8922122ea3a540999af6110e1edbf6 Change-Id: I4400bd16de8922122ea3a540999af6110e1edbf6
diff --git a/media/libeffects/hapticgenerator/Android.bp b/media/libeffects/hapticgenerator/Android.bp index 9975f75..396662e 100644 --- a/media/libeffects/hapticgenerator/Android.bp +++ b/media/libeffects/hapticgenerator/Android.bp
@@ -63,6 +63,8 @@ // BiquadFilter. Try the biquad_filter_benchmark test in audio_utils // with/without `-ffast-math` for more context. "-ffast-math", + "-fhonor-infinities", + "-fhonor-nans", "-fvisibility=hidden", ], }