A user reported crashes while interacting with menus while a game
is running and using ALSA, and that this fixes it for them.

https://github.com/mozilla/cubeb/pull/829
--- a/3rdparty/cubeb/src/cubeb.c
+++ b/3rdparty/cubeb/src/cubeb.c
@@ -741,4 +741,8 @@
 
   rv = context->ops->enumerate_devices(context, devtype, collection);
+  if (rv != CUBEB_OK) {
+    collection->device = NULL;
+    collection->count = 0;
+  }
 
   if (cubeb_log_get_callback()) {
