briankendall / proxy-audio-device

A virtual audio driver for macOS to sends all audio to another output
The Unlicense
514 stars 33 forks source link

Compatible with Mac OS BigSur on Apple Silicon M1? #10

Closed sir-andreas closed 1 year ago

sir-andreas commented 3 years ago

Is the PAD driver compatible with the setup above? It seems to compile pretty well and also the settings app work, but there isn't any audio when I switch to the PAD channel in the audio settings. BTW: Is there a specific path necessary where the settings app have to be run from?

Best regards, Andreas

briankendall commented 3 years ago

Looks like it works on Big Sur on Intel macs, but not Big Sur on M1 macs. I'm not offhandedly sure why, but I'll try to find time to look into it.

Also no, you can run the settings app from anywhere you like.

welby12 commented 3 years ago

I have been using it on macOS 11.1 (MBA M1) without any issues. Would be great if someone could make a Universal binary version

austinsisson commented 3 years ago

I've been using it on my M1 Mac mini running macOS 11.1 and it's been working well, though I do get occasional intermittent crackling / popping even with max buffer size enabled and have to reset my selected audio device when that happens. Otherwise, it works great.

Very grateful for this driver! If anyone has advice regarding the intermittent crackling, I'd appreciate it.

briankendall commented 3 years ago

That's interesting that we now have two reports of it working on M1 and two reports of it not working (including my own). My guess is that compiling for M1 introduces problems that don't exist when the plug-in is run using Rosetta.

@welby12 @austinsisson Would either of you be willing to try running this universal version I just compiled: https://nextcloud.briankendall.net/index.php/s/ArSfocD4DT8Grnr

Let me know if you get any audio at all, and in case you do, whether it works any better.

austinsisson commented 3 years ago

Running it now, will update you later. Thank you!

austinsisson commented 3 years ago

@briankendall

So I thought it was working, but I wanted to reboot to really test. After a reboot I get no audio through the proxy audio device and I'm getting a duplicate listing of all of my audio devices in my sound menu (including proxy audio), but one of each item is greyed out and not selectable.

austinsisson commented 3 years ago

Second update: manually restarting Core Audio removed the duplicate audio devices, but still no audio from the proxy device.

briankendall commented 3 years ago

I'd recommend switching back to the x86-64 version for the time being then.

austinsisson commented 3 years ago

Already done, old driver working well (with intermittent crackling). Let me know if / when you have another release that needs testing. Thanks again!

sir-andreas commented 3 years ago

Thanks for taking care of "my" issue. Let me also contribute a little bit to the process:

I also tested your new universial version of the driver and the behaviour is the same: Once I select the proxy device as output no sound is played any more. I also tested several devices to proxy to: The internal mac mini speaker as well as the speakers of a attached thunderbolt monitor and some active speakers using the audio port. All have the same result. When I address them directly as a output device without using the proxy audio device all are working normally.

My setup: Apple Mac MIni 2020 with M1 chip running on Big Sur version 11.1

@austinsisson: Is there any special way you setup the old driver? Did you compile it at your machine or are you using a precompiled binary?

briankendall commented 3 years ago

@sir-andreas I gather it was the pre-compiled binary.

From the limited amount of poking around I did, I'm seeing that there's something wrong with the way the driver is calculating positions in its audio buffer when compiled for arm64. Given some more time I can eventually track down what's going wrong, but alas I am quite busy these days with work and other projects. I do want to get this fixed, though!

austinsisson commented 3 years ago

@austinsisson: Is there any special way you setup the old driver? Did you compile it at your machine or are you using a precompiled binary?

@sir-andreas I'm using the latest pre-compiled binary release and followed the setup instructions on the main page. When testing the universal binary I just did a file replace with the new versions Brian supplied.

Not sure if it matters, but before I discovered Brian's driver I was trying to use Soundflower but could never get it to work with my M1 Mac. I admittedly don't know much about how these drivers work so I'm unsure if there would be any overlap between the two projects that might have got PAD working for me.

foobarjimmy commented 3 years ago

Looks like it works on Big Sur on Intel macs, but not Big Sur on M1 macs. I'm not offhandedly sure why, but I'll try to find time to look into it.

Also no, you can run the settings app from anywhere you like.

works on MacBook Pro (15-inch, 2018),MacOS 11.1 (20C69), i have to run proxy audio devides settings and choose proxied devices though.

grothkopp commented 3 years ago

It works on my Macbook Air M1, but after a while (15-30 minutes) the sound starts getting really bad and then breaks off.

uloco commented 3 years ago

It works on my Macbook Air M1, but after a while (15-30 minutes) the sound starts getting really bad and then breaks off.

This also happens on my Intel Mac Mini with Big Sur Version 11.4 (20F71). So not sure if it is related to M1. When I switch to another audio source and back it works again. Also something weird happened right now, it duplicated all interfaces in the menu

image
ntzb commented 2 years ago

on M1, "Monterey", it works unless the sleep kicked in, or for another reason, then I have to open the settings, choose another device, and return to the device I want. then it continues working.

songhao commented 2 years ago

It not work on my MacBook Air M1 with Big Sur Version 11.6.2 (20G314),I found out that the virtual audio driver used by Record It.app is improved from this, but it works fine. Hope to improve it with reference to Record It, thanks

sunknudsen commented 2 years ago

Hey @briankendall, stumbled upon this project on Reddit.

I use a USBPre 2 external sound card and not being able to control volume using keyboard is very irritating, especially compounded by the fact output gains are a little high for my reference monitors (would love to lower volume for all apps).

I am so pumped about your minimalist solution… any progress getting this to work on M1 Macs reliably? How can we help?

Have a wonderful day!

janwillies commented 2 years ago

on M1, "Monterey", it works unless the sleep kicked in, or for another reason, then I have to open the settings, choose another device, and return to the device I want. then it continues working.

I have the same issue with an intel mac, so it seems not specific to M1

kasimok commented 1 year ago

Looks like it works on Big Sur on Intel macs, but not Big Sur on M1 macs. I'm not offhandedly sure why, but I'll try to find time to look into it.

Also no, you can run the settings app from anywhere you like.

I figured out why it does not proxy sound on apple silicon. Please check my PR.

briankendall commented 1 year ago

I merged the PR and made a new release