If I decide it's worth it, I'll post whatever script I come up with here. I'm sure there's a way to listen for system events and detect when the headphones are reconnected / disconnected. Will try it a few times with and without. Remember I said keep hold of that number - you'll need it here: pactl unload-module 34Īs I say, I don't know how much I'm going to actually use this, as the delay is a bit distracting. Unfortunately, despite the fact you gave the device a specific output device (in my case, bluetooth headphones) it still seems to fall back to the default speaker once you've disconnected the headphones. There is a delay of about quater of a second, which might get annoying fast - we'll have to see! Now that appears in the sound settings under the "Applications" tab as "Unknown", but pavucontrol (my favourite volume controller for many many reasons) shows it in the Playback tab as "Loopback from. It will give you a number (In my case, it was 34) - hold on to that number, you may need it later. output) you want and create a virtual loopback device for it - in my case, the command is pactl load-module module-loopback sink=bluez_sink.44_34_8B_E0_C6_5D.a2dp_sink Turns out the solution to my particular problem is to load a pulseaudio "loopback" module.įirst, find the names of your devices: pactl list | grep "Name: " Check the manual of your interface to see if it support this.Turns out, it helps if you know what it is you want to search for. Tip: Certain audio interfaces have loopback capabilities built in, so you don't even need to use physical cables. Configure the respective preferences so that one program is outputting via the digital out, and the other is set to receive the digital input. If you have ADAT you can do the same for 8 channels of loopback. If you have SPDIF input and output ports, connect a cable between them for stereo loopback. This option has the advantage of potentially lower latency than other two other options above. If you have a spare output on your audio interface, connect a cable (or set of cables) from there to an input on the same interface. Configure the respective preferences so that one program is outputting via the analog out, and the other is set to receive the analog input.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |