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

ALSA: set the direction of snd_pcm_hw_params_set_*_near function to 0 #896

Open
tatsuki-makino opened this issue Apr 16, 2024 · 1 comment
Labels
bug Something isn't working P3 Priority: Normal src-alsa ALSA Host API /src/hostapi/alsa

Comments

@tatsuki-makino
Copy link

tatsuki-makino commented Apr 16, 2024

Describe the bug
If this is not set, the selection of open and closed intervals may not be stable.
This may have resulted in devices that could not be selected.

To Reproduce
I can't get it right :)

Expected behavior
All devices configured in ~/.asoundrc, etc. will be made available by PortAudio.

Actual behavior
Some devices configured in ~/.asoundrc are not listed by PortAudio.

Desktop (please complete the following information):

  • OS: FreeBSD
  • OS Version 12.4-STABLE (It has been tested. All versions are affected.)
  • PortAudio version: 88ab584

Additional context
I feel I am getting better results with this patch.
patch.txt

@RossBencina RossBencina added the src-alsa ALSA Host API /src/hostapi/alsa label Apr 26, 2024
@RossBencina
Copy link
Collaborator

RossBencina commented Apr 26, 2024

This "issue" should focus on the issue :) It seems like this is a bug report and the fix is secondary. Do you think it would be appropriate to rename this ticket "FreeBSD: Some ALSA devices configured in ~/.asoundrc are not listed by PortAudio." ?

Then the possible fix is "ALSA: set the direction of snd_pcm_hw_params_set_*_near function to 0](#896 (comment))"

To Reproduce: I can't get it right :)

Please clarify. Can you reproduce it or not? What led you to believe that there is a problem?

@RossBencina RossBencina added bug Something isn't working P3 Priority: Normal labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P3 Priority: Normal src-alsa ALSA Host API /src/hostapi/alsa
Projects
None yet
Development

No branches or pull requests

2 participants