←back to thread

A bug saved the company

(weblog.rogueamoeba.com)
379 points ingve | 2 comments | | HN request time: 0s | source
Show context
oulipo2 ◴[] No.45023731[source]
I tried Airfoil to be able to do the following:

- redirect my music (eg Youtube music) to my Apple Homepod

- still play all other audio (eg some podcast or video) on my laptop

but it doesn't work / is buggy / either puts everything in one location or the other

Has anyone here found a good setup to redirect the audio from exactly one app to the Homepod, and keep all the rest on the laptop audio?

replies(1): >>45023848 #
oulipo2 ◴[] No.45023848[source]
so playing with Audio Hijack, it seems my "Airplay" audio output is *only* present in the interface if I'm currently choosing "Airplay" as my default audio output from the system

So basically with Audio Hijack I can do a "hack" which is: - set my laptop to play on Airplay - play some music there - then if I want to listen to something else on my laptop, I have to create an Audio Hijack pipeline to play some other app on my laptop

Obviously I would prefer the reverse: by default play everything on the laptop, and be able to play a specific app on Airplay... but this doesn't seem to be possible because the "Airplay" device "disappears" from the interface as soon as I stop setting it as the default laptop output

replies(2): >>45023911 #>>45024967 #
strogonoff ◴[] No.45023911[source]
One way to deal with a “transient” audio interface tripping various apps on macOS is by creating a virtual multi-output audio device in Audio MIDI Setup (stock app). That device will be persistent, even when one of its output devices is lost.

In my case the interface was AirPods. It was incredibly annoying when various audio software would reset its output device whenever they disconnect or auto-switch to the phone. So, I set up a multi-output device that outputs signal to the pods along with the wired headphone port, and configured audio software to output to that virtual device. After that, there is no flakiness: when the pods are connected then they get the audio, if they aren’t then they don’t get the audio, nothing else needs to be changed.

replies(1): >>45024252 #
1. oulipo2 ◴[] No.45024252{3}[source]
Interesting! Can you give more details on how to build this virtual audio device? I tried creating one but it doesn't show as output in the Airfoil app, is there something special to do?
replies(1): >>45024575 #
2. strogonoff ◴[] No.45024575[source]
Ensure that at least one of the checked output devices is available and normally it should appear among physical outputs in any software, including Airfoil (unless it’s hidden in Airfoil settings). If it doesn’t appear, then I don’t know what’s going on.

I’ve never used Airfoil though. To be honest, I feel like routing audio through a multi-output virtual audio device might defeat the point of the app if it’s meant to play to wireless devices directly.