Changed target_angle_degrees in audioproc_float to float to avoid integer division when converting to radians

Change-Id: I1b12d03524c34ed3fc4da89216539fd31a5c703b

Bug: none
Change-Id: I1b12d03524c34ed3fc4da89216539fd31a5c703b
Reviewed-on: https://webrtc-review.googlesource.com/61942
Commit-Queue: Alejandro Luebs <aluebs@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22462}
This commit is contained in:
Alex Luebs
2018-03-15 11:27:22 -07:00
committed by Commit Bot
parent 895ae9a0cd
commit 24c220c178
2 changed files with 8 additions and 7 deletions

View File

@ -41,7 +41,7 @@ struct SimulationSettings {
rtc::Optional<int> reverse_output_sample_rate_hz;
rtc::Optional<int> reverse_output_num_channels;
rtc::Optional<std::string> microphone_positions;
int target_angle_degrees = 90;
float target_angle_degrees = 90.f;
rtc::Optional<std::string> output_filename;
rtc::Optional<std::string> reverse_output_filename;
rtc::Optional<std::string> input_filename;