aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_opensl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cubeb_opensl.cpp')
-rw-r--r--src/cubeb_opensl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cubeb_opensl.cpp b/src/cubeb_opensl.cpp
index 171a32e..0c9f41e 100644
--- a/src/cubeb_opensl.cpp
+++ b/src/cubeb_opensl.cpp
@@ -1056,6 +1056,11 @@ opensl_configure_capture(cubeb_stream * stm, cubeb_stream_params * params)
LOG("Failed to create recorder. Error code: %lu", res);
return CUBEB_ERROR;
}
+ } else {
+ LOG("Failed to create recorder, not trying other input"
+ " rate. Error code: %lu",
+ res);
+ return CUBEB_ERROR;
}
// It's always possible to use int16 regardless of the Android version.
// However if compiling for older Android version, it's possible to