aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2023-09-25 11:18:27 +0200
committerMatthew Gregan <[email protected]>2023-09-26 15:23:21 +1300
commitf1bfefbbd412eaa0fe89f5afb3c11b427dc2446a (patch)
treef259fc761c9948cbae32f828c68a870fe5c514b1
parentf9c118ddc050d15ffb3ac2babff06a833d0ac740 (diff)
downloadcubeb-f1bfefbbd412eaa0fe89f5afb3c11b427dc2446a.tar.gz
cubeb-f1bfefbbd412eaa0fe89f5afb3c11b427dc2446a.zip
Actually use the return value in initialize_with_format callback call.
-rw-r--r--src/cubeb_opensl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cubeb_opensl.cpp b/src/cubeb_opensl.cpp
index 542d452..171a32e 100644
--- a/src/cubeb_opensl.cpp
+++ b/src/cubeb_opensl.cpp
@@ -985,9 +985,7 @@ initialize_with_format(cubeb_stream * stm, cubeb_stream_params * params,
format_sample_rate = &pcm_format.samplesPerSec;
}
- func(format, format_sample_rate, using_floats);
-
- return CUBEB_OK;
+ return func(format, format_sample_rate, using_floats);
}
static int