aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2024-01-31 10:49:12 +0100
committerPaul Adenot <[email protected]>2024-01-31 10:51:22 +0100
commit799e775484b8fce7e986ee7a4f4b651fec2bca07 (patch)
tree87cf1504cb5c1eef68d341fdccd9a9d66c4cad85
parentd0ffc6d302b47e2b6c1fc2d38b918b0b1d2b5745 (diff)
downloadcubeb-799e775484b8fce7e986ee7a4f4b651fec2bca07.tar.gz
cubeb-799e775484b8fce7e986ee7a4f4b651fec2bca07.zip
Format new changes
-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;
}