Bug 1360060 - P1: Enable selection of cubeb-pulse-rust over cubeb-pulse. r?kinetik
MozReview-Commit-ID: GN5POBqy56W
--- a/media/libcubeb/src/cubeb.c
+++ b/media/libcubeb/src/cubeb.c
@@ -161,16 +161,19 @@ cubeb_init(cubeb ** context, char const
}
int (* default_init[])(cubeb **, char const *) = {
/*
* init_oneshot must be at the top to allow user
* to override all other choices
*/
init_oneshot,
+#if defined(USE_PULSE_RUST)
+ pulse_rust_init,
+#endif
#if defined(USE_PULSE)
pulse_init,
#endif
#if defined(USE_JACK)
jack_init,
#endif
#if defined(USE_ALSA)
alsa_init,