Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio channel discovery on macOS #731

Closed
hstriepe opened this issue Aug 16, 2018 · 5 comments
Closed

Audio channel discovery on macOS #731

hstriepe opened this issue Aug 16, 2018 · 5 comments
Labels

Comments

@hstriepe
Copy link

Currently I resorted to enabling shairport-sync with the active default device and then changing it. I have not found a device list that I could use with shairport-sync recognizing it.

Is there a way to get a listing of the valid devices in a configuration that would be recognized by shairport-sync on the command line?

Would love to set up a startup daemon that holds a particular device (USB AUDIO DAC.)

@whizkid79
Copy link

same issue here

@Rastafabisch
Copy link

Rastafabisch commented Nov 27, 2018

I don't think this is possible, as the OS handles the audio routing and not certain applications. Though there is (paid) software out there which does provide individual sound routing. However it might be possible you route libao or pulseaudio to a certain device directly, which are the sound servers usable for Shairport-sync on macOS.

There's actually a similar issue here.

@whizkid79
Copy link

Actually thats not true. There are different types of application. Some just play audio and let the system decide what to do with it. For those you need extra software to route the audio. But on the other hand there are loads of other software that is more aware of the audio capabilities of the system like any normal DAW or even "simple" recording software like audacity lets you chose recording and playbay channels/devices.
Not sure how flexible libao is on the mac, but it has a dev flag you can pass onto it, so it should be possible to chose a audio device at least.

@github-actions
Copy link

github-actions bot commented Sep 5, 2021

This issue has been inactive for 60 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.

@dge8
Copy link

dge8 commented May 20, 2023

Sorry to comment on a closed issue, noting for posterity that AFAICT the dev flag for the macosx driver in libao has never actually worked. There is a fix here that I've bumped - if you manually compile libao using this patch it works. If patch ever gets merged (last release 1.2.2 was in 2016, although there was merge activity up to 2021) then that will solve this issue when using the libao backend.
EDIT: actually the dev flag was introduced in 2013 and worked until a breaking commit in 2016.
EDIT 2: I've posted instructions for installing the patched libao with homebrew here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants