Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(recording): add coreaudio-rs for macOS mic enumeration

Richie McIlroy5d0e49323321
diff --git a/Cargo.lock b/Cargo.lock
index 4ea804e93..bc3ff1216 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1720,6 +1720,7 @@ dependencies = [
"cocoa",
"core-foundation 0.10.1",
"core-graphics 0.24.0",
+ "coreaudio-rs",
"cpal 0.15.3 (git+https://github.com/CapSoftware/cpal?rev=3cc779a7b4ca)",
"device_query",
"dhat",
diff --git a/crates/recording/Cargo.toml b/crates/recording/Cargo.toml
index e00167142..d6f2ae2b7 100644
--- a/crates/recording/Cargo.toml
+++ b/crates/recording/Cargo.toml
@@ -72,6 +72,7 @@ objc2 = "0.6"
objc2-app-kit = "0.3.1"
core-graphics = "0.24.0"
core-foundation = "0.10.0"
+coreaudio-rs = { version = "0.11.3", features = ["audio_unit"] }
foreign-types-shared = "0.3"
libc = "0.2"