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

Missing function to open specific audio device #1345

Open
francisdb opened this issue Oct 31, 2023 · 2 comments
Open

Missing function to open specific audio device #1345

francisdb opened this issue Oct 31, 2023 · 2 comments

Comments

@francisdb
Copy link

Below function is not available

https://wiki.libsdl.org/SDL2_mixer/Mix_OpenAudioDevice

@Cobrand
Copy link
Member

Cobrand commented Oct 31, 2023

It is implemented, but private, because you should use open_playback for output, and open_capture for inputs. Do you have a usecase where you cannot use those?

@francisdb
Copy link
Author

francisdb commented Oct 31, 2023

I have a 7.1 usb sound card at index 7 I want to use. Not my default speakers.

Also on Linux the default device picked is not always the device you set up as default in pulseaudio / pipewire. Looks like it's just taking the order of alsa.

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

2 participants