Golang getting ‘playing audio’ system status – preferably cross platform
Does anyone know of a package to do this – I’ve tried searching – but it’s really hard to find a useful search.
Here is my use case – I want to be able to detect (at system level) when audio is playing (through another application/browser, etc.) so that I can pause audio to make an announcement, then start it again after the announcement.
Note that I’m using the system keyboard media control to send ‘audio_play’ to pause/resume – but if NO audio is playing, this will start the audio and play over the announcement, then pause it again afterwards…
Preferably cross platform – but windows only is better than nothing…
Thank you – Andy
1 post – 1 participant
HI-FI News
via Go Forum – Latest topics https://ift.tt/suCKW1c
November 21, 2025 at 03:06PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








