-
supersonic
A lightweight and full-featured cross-platform desktop client for self-hosted music servers
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
OK, this might be a bit of a generic question. Many of you may know that I am currently working on an audio player in Go, named Teamus. So, I was wondering if it's possible to achieve audio interruption or focus control in Linux, similar to how it works on smartphones. For instance, when we play audio in one app, like Youtube Music, and then start playing audio in another app, such as Spotify, the first app gets interrupted, and the second app gains audio focus. I'm curious if this functionality can be implemented in Linux or even Windows. If it's indeed possible, how can we do that in Go? I've searched for information on this topic but haven't found reliable answers yet. BTW, I should also mention that I am in Wayland, if it's relevant. Please let me know.
I'm not sure if there's a way to do that in a consistent cross-platform way. But just wanted to say that this is a cool project! And also to mention that I have a GUI music player in Go, Supersonic, that is a client for self-hosted music servers. I use libmpv through CGO for audio playback. If you ever wanted to switch audio backends in your app, I'm open to moving the higher-level interface I built into its own go module, although the low-level mpv bindings it's built on are GPLv3 so you'd need to either relicense Teamus as GPLv3, write a from-scratch mpv binding, or convince the developer to relicense it to MIT.