Rust-SDL2 / rust-sdl2

SDL2 bindings for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing function to open specific audio device

francisdb opened this issue · comments

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?

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.