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

libao configuration on Windows systems #1658

Open
honjarado opened this issue Jun 29, 2023 · 3 comments
Open

libao configuration on Windows systems #1658

honjarado opened this issue Jun 29, 2023 · 3 comments

Comments

@honjarado
Copy link

honjarado commented Jun 29, 2023

On Windows there is no ~/.libao or /etc/libao.conf
C:\Users\$username\.libao does not seem to work.

How to set the internal player to play only through a specific (not-default) audio device, or if that not possible, a non-default audio driver?

I've tried and disliked the performance of external players on Windows.

@nonwill
Copy link

nonwill commented Jun 30, 2023

On Windows, WMM audio driver output (ao_wmm.c should be the default/only one in libao) is used. So ~/.libao or /etc/libao.conf is not a must.

@vedgy
Copy link
Member

vedgy commented Jun 30, 2023

@nonwill, the question is about an audio device, not audio driver.

https://www.xiph.org/ao/doc/config.html and https://www.xiph.org/ao/doc/drivers.html tell how to configure the device.

The relevant code indicates that libao looks for the same file paths on all platforms (unless overridden during compilation and unless my GitHub search missed something). Check if the used HOME environment variable exists. If not, set it to your preferred location of the .libao file. Probably best to set it to C:\Users\$username or C:/Users/$username in order to avoid changing the default behavior of other applications that use this variable.

@nonwill
Copy link

nonwill commented Jun 30, 2023

@nonwill, the question is about an audio device, not audio driver.

Two ways to select the/an audio device, system wide or app only:
2023-06-30_171107
2023-06-30_170922

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

No branches or pull requests

3 participants