Compare commits

..

4 commits

Author SHA1 Message Date
Christopher Snowhill
03526aaa44 WIP: Attempt to actually use the custom icons
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-06-24 04:07:50 -07:00
Christopher Snowhill
a0b8b1ac56 Add new status icon resources
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-06-24 04:07:44 -07:00
Christopher Snowhill
3b00bd94bc Icon: Liquid Glass style icon for macOS Tahoe
Still need to adjust the custom dock icon for this.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-06-24 04:07:23 -07:00
Christopher Snowhill
5b26fc9cff Apply recommended settings
Except for deployment target, which is staying at 10.13 for now.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-06-24 04:07:09 -07:00

View file

@ -40,7 +40,7 @@ static simd_float4x4 convertMatrix(CMRotationMatrix r) {
static NSLock *motionManagerLock = nil;
API_AVAILABLE(macos(14.0)) static CMHeadphoneMotionManager *motionManager = nil;
static DSPHRTFNode __weak *registeredMotionListener = nil;
static DSPHRTFNode *registeredMotionListener = nil;
#endif
static void registerMotionListener(DSPHRTFNode *listener) {
@ -55,7 +55,6 @@ static void registerMotionListener(DSPHRTFNode *listener) {
[motionManager startDeviceMotionUpdatesToQueue:[NSOperationQueue mainQueue] withHandler:^(CMDeviceMotion * _Nullable motion, NSError * _Nullable error) {
if(motion) {
[motionManagerLock lock];
if(registeredMotionListener)
[registeredMotionListener reportMotion:convertMatrix(motion.attitude.rotationMatrix)];
[motionManagerLock unlock];
}