Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audio: Optimize division by speed of sound using fixed-point reciprocal
This commit optimizes the division by the speed of sound in the `theoretical_time_differences` function. By precomputing the fixed-point reciprocal of the speed of sound, we eliminate the need for a costly division operation in each iteration. Additionally, a redundant 'if' statement is removed from the 'tdfb_direction_copy_emphasis' function, simplifying the code. Signed-off-by: Shriram Shastry <malladi.sastry@intel.com>
- Loading branch information