aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2024-02-07 15:32:12 +0100
committerPaul Adenot <[email protected]>2024-02-07 17:57:06 +0100
commit46906c7bba281a9cc277881e9cf9e32909f8dbf2 (patch)
treeec48bc6439d60a0064788c21afd7607bfe7f8813 /src
parent799e775484b8fce7e986ee7a4f4b651fec2bca07 (diff)
downloadcubeb-46906c7bba281a9cc277881e9cf9e32909f8dbf2.tar.gz
cubeb-46906c7bba281a9cc277881e9cf9e32909f8dbf2.zip
384kHz ought to be enough for anybody
Diffstat (limited to 'src')
-rw-r--r--src/cubeb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cubeb.c b/src/cubeb.c
index 16bb84a..bc994f9 100644
--- a/src/cubeb.c
+++ b/src/cubeb.c
@@ -95,7 +95,7 @@ validate_stream_params(cubeb_stream_params * input_stream_params,
XASSERT(input_stream_params || output_stream_params);
if (output_stream_params) {
if (output_stream_params->rate < 1000 ||
- output_stream_params->rate > 192000 ||
+ output_stream_params->rate > 384000 ||
output_stream_params->channels < 1 ||
output_stream_params->channels > UINT8_MAX) {
return CUBEB_ERROR_INVALID_FORMAT;
@@ -103,7 +103,7 @@ validate_stream_params(cubeb_stream_params * input_stream_params,
}
if (input_stream_params) {
if (input_stream_params->rate < 1000 ||
- input_stream_params->rate > 192000 ||
+ input_stream_params->rate > 384000 ||
input_stream_params->channels < 1 ||
input_stream_params->channels > UINT8_MAX) {
return CUBEB_ERROR_INVALID_FORMAT;