diff options
author | Paul Adenot <[email protected]> | 2023-09-25 11:18:27 +0200 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2023-09-26 15:23:21 +1300 |
commit | f1bfefbbd412eaa0fe89f5afb3c11b427dc2446a (patch) | |
tree | f259fc761c9948cbae32f828c68a870fe5c514b1 | |
parent | f9c118ddc050d15ffb3ac2babff06a833d0ac740 (diff) | |
download | cubeb-f1bfefbbd412eaa0fe89f5afb3c11b427dc2446a.tar.gz cubeb-f1bfefbbd412eaa0fe89f5afb3c11b427dc2446a.zip |
Actually use the return value in initialize_with_format callback call.
-rw-r--r-- | src/cubeb_opensl.cpp | 4 |
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 |