Skip to content

Conversation

@Kontrabant
Copy link
Contributor

@Kontrabant Kontrabant commented Jan 2, 2026

Wireplumber now exposes a list of session services, so check the "session.services" property for an "audio" entry to determine whether Pipewire is configured for audio playback/capture.

This gives a direct answer instead of the guesswork being done currently.

@Kontrabant Kontrabant requested a review from icculus January 2, 2026 23:17
@slouken
Copy link
Collaborator

slouken commented Jan 2, 2026

Do we do the right thing on older systems without this interface?

@Kontrabant
Copy link
Contributor Author

Do we do the right thing on older systems without this interface?

Yes, if the session services aren't available, it will simply fall back to the old preferred logic.

Wireplumber now exposes a list of session services, so check the "session.services" property for an "audio" entry to determine whether Pipewire is configured for audio playback/capture.
@Kontrabant Kontrabant merged commit 24156f5 into libsdl-org:main Jan 3, 2026
45 checks passed
@Kontrabant Kontrabant deleted the pw_services branch January 3, 2026 03:00
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

Successfully merging this pull request may close these issues.

2 participants