rlxone / MultiSoundChanger

🎧 🔈 A small tool for changing sound volume even for aggregate devices cause native sound volume controller can't change volume of aggregate devices
Apache License 2.0
196 stars 24 forks source link

Add support Media Keys and OSD #4

Closed thingsapart closed 3 years ago

thingsapart commented 3 years ago

Add CocoaPods for MediaKeyTaps pod, migrate to suggested Xcode settings.

Add OSD.framework and Swift bridging headers.

rlxone commented 3 years ago

Hi! Thank you. I'll check it later.

thingsapart commented 3 years ago

No rush, the PR is not super clean because I let Xcode migrate the project. You'll also need to install CocoaPods and do a "pod install" in the root dir to initialize.

If you'd rather redo the changes cleanly and separately, the important part is really just "extension AppDelegate: MediaKeyTapDelegate { .... }" addition to the AppDelegate.swift and CocoaPods Podfile to install MediaKeyTap pod. If you want to show the OSD-volume pop-over, you'll need to add OSD.framework and the objc-bridging header.