Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audio: Optimize and fix TDFB direction calculation
This check-in refines the TDFB direction calculation, addressing both performance and correctness: Fixes: - Correct infinite loop in `max_mic_distance` by fixing loop conditions. - Fix off-by-one error in `line_array_mode_check` ensuring all checks for co-linearity among microphone locations are performed. Optimizations: - Enhance `theoretical_time_differences` efficiency by substituting division with multiplication using a precomputed reciprocal. These modification collectively enhance the algorithm's robustness and computational efficiency. Signed-off-by: Shriram Shastry <[email protected]>
- Loading branch information