Skip to content

Comments

Allow SDL to change channel count and log audio driver.#101

Merged
kblaschke merged 1 commit intoprojectM-visualizer:masterfrom
kblaschke:sdl-capturing-improvements
May 20, 2025
Merged

Allow SDL to change channel count and log audio driver.#101
kblaschke merged 1 commit intoprojectM-visualizer:masterfrom
kblaschke:sdl-capturing-improvements

Conversation

@kblaschke
Copy link
Member

We can use any number of channels, so SDL2 can just give us the proper channel count for the given device. Might also cause issues when using the sdl2-compat layer for SDL3, as it may not be able to "emulate" channels.

Also display the audio driver used by SDL in log level "debug".

@kblaschke kblaschke force-pushed the sdl-capturing-improvements branch from 391b3be to 85dfdda Compare May 20, 2025 16:34
@kblaschke kblaschke merged commit 85dfdda into projectM-visualizer:master May 20, 2025
3 checks passed
@kblaschke kblaschke deleted the sdl-capturing-improvements branch May 20, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants