gecko-dev/media/libcubeb/prefer-pulse-rust.patch
Dan Glastonbury a74de3d86f Bug 1372057 - Limit pulse-rust to nightly builds. r=kinetik
MozReview-Commit-ID: Ev4GSuEN5Xa

--HG--
extra : rebase_source : 0e3910ffa437963810d5f42d5e2f3486e72801ef
2017-06-12 11:26:33 +10:00

15 lines
476 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(NIGHTLY_BUILD) && defined(USE_PULSE_RUST)
+ pulse_rust_init,
+#endif
#if defined(USE_PULSE)
pulse_init,
#endif