You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2024. It is now read-only.
I am unable to retrieve the output balance for the builtin speakers on my M1 MacBook Pro.
Other devices, like external headphones, are able to retrieve the balance with no issues.
Specs:
MacOS 12.0.1 (Monterey)
MacBook Pro (14-inch, 2021), Apple M1 Pro chip
Xcode 13.2.1
Code in Use:
import SimplyCoreAudio
letsimplyCA=SimplyCoreAudio()letdevice= simplyCA.defaultOutputDevice
// This works fine for both builtin and external audio devices
iflet outVolume = device?.virtualMainVolume(scope:.output){os_log("Current default device volume of: %F", outVolume)}
// This works only for external audio devices, builtin speakers do not work
iflet outBalance = device?.virtualMainBalance(scope:.output){os_log("Current default device balance of: %F", outBalance)}
Notes
Feels like this might be an underlying apple issue or I am just doing something stupid 😅
Also so much ❤️ for this library. The Audio APIs are a real developer pain to work with. This will help simplify a bunch of code in my app.