mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
Add support for Virtual Pipewire Source Nodes
This commit is contained in:
parent
248223592a
commit
b64812244a
1 changed files with 1 additions and 1 deletions
|
|
@ -704,7 +704,7 @@ static void registry_event_global_callback(void *object, uint32_t id, uint32_t p
|
|||
// Just want sink and source
|
||||
if (!SDL_strcasecmp(media_class, "Audio/Sink")) {
|
||||
recording = false;
|
||||
} else if (!SDL_strcasecmp(media_class, "Audio/Source")) {
|
||||
} else if (!SDL_strcasecmp(media_class, "Audio/Source") || !SDL_strcasecmp(media_class, "Audio/Source/Virtual")) {
|
||||
recording = true;
|
||||
} else {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue