aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/cubeb_audiounit.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cubeb_audiounit.cpp b/src/cubeb_audiounit.cpp
index b32e56f..d823e80 100644
--- a/src/cubeb_audiounit.cpp
+++ b/src/cubeb_audiounit.cpp
@@ -377,10 +377,11 @@ cubeb_channel_to_channel_label(cubeb_channel channel)
}
}
-bool is_common_sample_rate(Float64 sample_rate)
+bool
+is_common_sample_rate(Float64 sample_rate)
{
/* Some commonly used sample rates and their multiples and divisors. */
- return sample_rate == 8000 || sample_rate == 16000 || sample_rate == 22050 ||
+ return sample_rate == 8000 || sample_rate == 16000 || sample_rate == 22050 ||
sample_rate == 32000 || sample_rate == 44100 || sample_rate == 48000 ||
sample_rate == 88200 || sample_rate == 96000;
}