Skip to content

Expose audio driver names#6738

Open
rszyma wants to merge 1 commit intoppy:masterfrom
rszyma:expose-audio-device-driver-name
Open

Expose audio driver names#6738
rszyma wants to merge 1 commit intoppy:masterfrom
rszyma:expose-audio-device-driver-name

Conversation

@rszyma
Copy link
Copy Markdown
Contributor

@rszyma rszyma commented Apr 24, 2026

Required for ppy/osu#37511

Example driver names that might appear on Linux:
- default
- hw:0,3
- hw:0,7
- hw:4,0
- pipewire
var oldDeviceNames = audioDeviceNames;
var newDeviceNames = audioDeviceNames = audioDevices.Skip(BASS_INTERNAL_DEVICE_COUNT).Where(d => d.IsEnabled).Select(d => d.Name).ToImmutableList();
var newDeviceNames = audioDeviceNames = audioDevices.Skip(BASS_INTERNAL_DEVICE_COUNT)
.Where(d => d.IsEnabled)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants