From 2bee6bcbd37b121ab197193fe466eef0e91b62b1 Mon Sep 17 00:00:00 2001 From: Miriam Zimmerman Date: Wed, 18 Sep 2024 14:06:48 -0400 Subject: [PATCH] Add submodules for tier-1 rust backends. Per https://github.com/mozilla/cubeb/wiki/Backend-Support the rust backends for pulse and coreaudio are tier-1 and the older C++ backends are tier-4. So, add these backends to cubeb by default. --- .gitmodules | 8 ++++++++ src/cubeb-coreaudio-rs | 1 + src/cubeb-pulse-rs | 1 + 3 files changed, 10 insertions(+) create mode 160000 src/cubeb-coreaudio-rs create mode 160000 src/cubeb-pulse-rs diff --git a/.gitmodules b/.gitmodules index a819201..41442f2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,11 @@ [submodule "cmake/sanitizers-cmake"] path = cmake/sanitizers-cmake url = https://github.com/arsenm/sanitizers-cmake +[submodule "src/cubeb-coreaudio-rs"] + path = src/cubeb-coreaudio-rs + url = https://github.com/mozilla/cubeb-coreaudio-rs + branch = trailblazer +[submodule "src/cubeb-pulse-rs"] + path = src/cubeb-pulse-rs + url = https://github.com/mozilla/cubeb-pulse-rs + branch = dev diff --git a/src/cubeb-coreaudio-rs b/src/cubeb-coreaudio-rs new file mode 160000 index 0000000..2407441 --- /dev/null +++ b/src/cubeb-coreaudio-rs @@ -0,0 +1 @@ +Subproject commit 2407441a2f67341a0e13b4ba6547555e387c671c diff --git a/src/cubeb-pulse-rs b/src/cubeb-pulse-rs new file mode 160000 index 0000000..8678dca --- /dev/null +++ b/src/cubeb-pulse-rs @@ -0,0 +1 @@ +Subproject commit 8678dcab1c287de79c4c184ccc2e065bc62b70e2