Bug 1360060 - P1: Enable selection of cubeb-pulse-rust over cubeb-pulse. r?kinetik draft
authorDan Glastonbury <dglastonbury@mozilla.com>
Thu, 27 Apr 2017 10:51:52 +1000
changeset 590144 36c53bef6e6edd7815024163675b809a42937f43
parent 589954 5801aa478de12a62b2b2982659e787fcc4268d67
child 590145 55ca24589b69240037f79fb5ba391cc98cb4393a
push id62606
push userbmo:dglastonbury@mozilla.com
push dateWed, 07 Jun 2017 07:13:29 +0000
reviewerskinetik
bugs1360060
milestone55.0a1
Bug 1360060 - P1: Enable selection of cubeb-pulse-rust over cubeb-pulse. r?kinetik MozReview-Commit-ID: GN5POBqy56W
media/libcubeb/src/cubeb.c
--- 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,