Why Nostr? What is Njump?
2024-04-20 10:21:35

frederik_diamond on Nostr: I’ve been avoiding working on the actual fundamental feature of this app: being ...

I’ve been avoiding working on the actual fundamental feature of this app: being able to capture audio streams from all running apps, process the audio streams, then output the audio as a single output by using a virtual audio driver.

The reason why I’ve been avoiding working on this is because it’s the hardest part of building this application. I’m looking at how other apps are doing it, like SoundFlower, BlackHole, and EqMac.

Seems very complicated, at least for someone inexperienced like me.
#dev #swift
Done some more progress on my Mac application.
Now, the state of the SwiftUI sliders is successfully saved.

Which means, even when quitting the app (CMD + Q), and reopening the app, it will remember where all the sliders were positioned.
This means, the sliders no longer reset after switching view or quitting the app.

This is currently only working for the app-specific sliders, not the master volume — that is the next thing I will work on.

For anyone interested, I ended up using UserDefaults (https://developer.apple.com/documentation/foundation/userdefaults).

#swift #swiftui #mac #apple #dev



Author Public Key
npub1nj0crmtetu84a7j43yegy358mp8u0e4ye7ndkhtd8dg0edll4mpqn52gqz