Compare commits

..

5 commits

Author SHA1 Message Date
Christopher Snowhill
734f1a7ed4 WIP: Attempt to actually use the custom icons
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-07-01 04:55:40 -07:00
Christopher Snowhill
366d989953 Add new status icon resources
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-07-01 04:55:40 -07:00
Christopher Snowhill
c76b88be12 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-07-01 04:55:40 -07:00
Christopher Snowhill
98561c1e37 Apply recommended settings
Except for deployment target, which is staying at 10.13 for now.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-07-01 04:55:40 -07:00
Christopher Snowhill
5cbebd0c43 Visualization: Correct possible race condition
It's safer to ignore an out of range latency value before it's actually
assigned, rather than letting it slip through before gating it with the
control variable. So, assign the ignore latency state before assigning
latency itself, since neither side is synchronization locked, because it
used to just be one variable, which was fairly safe to leave unsynced,
but now it's two.

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

View file

@ -101,8 +101,8 @@ static VisualizationController *_sharedController = nil;
} }
- (void)postLatency:(double)latency { - (void)postLatency:(double)latency {
self->latency = latency;
ignoreLatency = (latency >= 45.0) || (latency < 0.0); ignoreLatency = (latency >= 45.0) || (latency < 0.0);
self->latency = latency;
} }
- (double)readSampleRate { - (double)readSampleRate {