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

[feature] Implement sound system auto-detection #17

Open
spiralofhope opened this issue Nov 7, 2017 · 2 comments
Open

[feature] Implement sound system auto-detection #17

spiralofhope opened this issue Nov 7, 2017 · 2 comments

Comments

@spiralofhope
Copy link

From #14 (comment)

The appropriate system (OSS vs ALSA vs Pulse) should be autodetected. Then, if there are multiple soundcards, and multiple volume controls, the right one should be selected again.

@xi
Copy link

xi commented Nov 10, 2017

There is already some kind of autodetection. @andreasvc what would you improve?

@andreasvc
Copy link
Owner

The current autodetection only tests if the volume can be changed without generating an exception, but this is no guarantee that you get a volume control that effectively changes the playback volume, e.g., because Pulse is installed but not actually used, or because there are multiple sound cards.

Handling all cases seems complex, so maybe doing the volume control through the player makes things easier.

andreasvc added a commit that referenced this issue Jan 12, 2018
- Fix ALSA mixer. When there are multiple sound cards, card index 0 may
  be disabled. Older versions of alsaaudio do not support listing valid
  card indexes, so work around by trying a few.
- Detect when pulseaudio tools are installed, but there is not actually
  a working mixer available.

these partly address issue #17
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