gecko-dev/media/libcubeb/prefer-pulse-rust.patch
Dan Glastonbury 1ed8c42458 Bug 1430996 - P2: Remove NIGHTLY_BUILD restriction for using cubeb-pulse-rs. r=kinetik
MozReview-Commit-ID: 6luTT4b9e25

--HG--
extra : rebase_source : 9c110d1d9e2fdfb9882c0d6f4081d436bb15d896
2018-01-17 16:22:54 +10:00

15 lines
450 B
Diff

diff --git a/media/libcubeb/src/cubeb.c b/media/libcubeb/src/cubeb.c
index 1db59240e335..241f3cfed041 100644
--- a/media/libcubeb/src/cubeb.c
+++ b/media/libcubeb/src/cubeb.c
@@ -166,6 +166,9 @@ cubeb_init(cubeb ** context, char const * context_name, char const * backend_nam
* to override all other choices
*/
init_oneshot,
+#if defined(USE_PULSE_RUST)
+ pulse_rust_init,
+#endif
#if defined(USE_PULSE)
pulse_init,
#endif