proxy-audio-device
proxy-audio-device copied to clipboard
Keep having to kill coreaudio
Device: MBP 2016 TB 13,3
First, thank you for this awesome program.
Conditions:
- Sound output device (speaker) receives signal from monitor's 3.5mm jack.
- Monitor receive video/audio signal from MBP via HDMI (HDMI to USB-C cable)
Recreation:
- Not playing sounds for random amount of time
- For example, sometimes proxy-audio stops outputting when I pause a yt video for several seconds and resume.
Workaround:
-
sudo killall coreaudio
each time it happens. Not 100% and sometimes need to kill it a few times for it to work again.
I'm not sure if this is unique to my setup and thought maybe I've missed something. Thanks again!
Hi,
First of all, thank you for this piece of software. :)
I'm having the same issue here with a MBA M1.
- The MBA is connected to a docking station (CalDigit TS3+) via Thunderbolt and the docking is connected to speakers via an optical cable.
- The app setting "Proxy device is active" is set to "Always"
The recreation is exactly the same as above:
Not playing sounds for random amount of time For example, sometimes proxy-audio stops outputting when I pause a yt video for several seconds and resume.
The workarround I'm using for the moment is to sudo launchctl kickstart -k system/com.apple.audio.coreaudiod
Regards. :)
This issue is very elusive and while I'm aware of it I've never been able to track it down. For the time being though I'm going to try dogfooding and see how things go if I use Proxy Audio Device on my main mac for a while. If I can reproduce the issue I can at least attempt to fix it!
I'm having the same issue and it seems reproducible. If I can help by sending you some logs, etc., please let me know. I'd be happy to run a customized version with extra logging.
Thank you so, so much for Proxy Audio Device. It is a simple and beautiful fix.
I just installed this yesterday on my Macbook Air M2, and when I returned to work the next day (having left my MacBook plugged into my Dell U2723QE hub monitor) and woke my computer, the sound was gone. I restarted core audio, and it was back.
I've been having this issue as well, and my solution has been to open the "Proxy Audio Device Settings" app, and then change the "proxied device" from my monitor to my Mac and then back, which seems to effectively restart the process. I'm going to try to restart coreaudio
in the future to see if that works.
Any possible update or movement on this issue? Thanks for all you do!
Would any of you be willing to try out this test build?
ProxyAudioDevice_v1.0.7b1_overrun-test.zip
To install it, copy the driver in that archive over top of the old one like you did when installing the app, and then restart CoreAudio with sudo launchctl kickstart -k system/com.apple.audio.coreaudiod
It's got a hacky and experimental fix for this issue. I'm curious if it works, but it's very hard for me to test on my end, since a) not all of my systems experience this issue, and b) it takes hours for it to happen.
Yes, I will install it tonight and test it over the weekend. Thanks!
I was just playing around with this test build today, and it seems to get into a state where it will start continuously outputting garbled audio or irritating tones, particularly when nothing is playing audio to the driver. So obviously this is not a good fix, though I'm still curious if any of you had any success with it. I'm still not sure if it at least fixes the original problem.
Tried this last night and seemed to work better. However today I am resetting my device as before so not sure why the inconsistency. I think I rebooted awhile before trying it yesterday and haven't since then.
I created this script to easily restart core audio. either you can create your own terminal command saved as file like bellow or you can use mine in the attachements.
launchctl kickstart -k system/com.apple.audio.coreaudiod exit
just wanted to add a +1 to experiencing this. Didn't try the test that @briankendall shared above because of the follow up about weird noises. Happy to test any subsequent builds though!
Can also confirm, once in a while a have to restart the audio daemon...
Is anybody noticing NOT having to restart coreaudio recently? About a week ago I set my buffer size to 1024, and active 'when proxied device is active' and I haven't had to touch it since... I didn't want to comment until I had a reason to reboot and still was working and that day is today!. Here's hoping. M2 Max MBP, 32gb, Ventura 13.3.1
Actually, now that you mention it, setting it to be active "when proxied device is active" might be a helpful workaround. I think the issue could still come up when playing continuous audio for long periods of time, but for other uses it will avoid the issue, since any time audio stops playing the proxy device will reset all of its audio buffers.