aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndreas Pehrson <[email protected]>2024-02-14 23:08:23 +0100
committerAndreas Pehrson <[email protected]>2024-02-15 13:42:53 +0100
commit74d6b0546576d9ee13a078ed51f87a6eede62014 (patch)
tree854ca84acd45d61879df311d795e0499b58c5d32
parent46906c7bba281a9cc277881e9cf9e32909f8dbf2 (diff)
downloadcubeb-74d6b0546576d9ee13a078ed51f87a6eede62014.tar.gz
cubeb-74d6b0546576d9ee13a078ed51f87a6eede62014.zip
Allow setting CUBEB_INPUT_PROCESSING_PARAM_NONE
Clients may want to disable processing...
-rw-r--r--src/cubeb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb.c b/src/cubeb.c
index bc994f9..f6bc158 100644
--- a/src/cubeb.c
+++ b/src/cubeb.c
@@ -533,7 +533,7 @@ int
cubeb_stream_set_input_processing_params(cubeb_stream * stream,
cubeb_input_processing_params params)
{
- if (!stream || !params) {
+ if (!stream) {
return CUBEB_ERROR_INVALID_PARAMETER;
}