mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-17 03:28:57 +00:00
Add support for Virtual Pipewire Source Nodes
This commit is contained in:
parent
a3e47fb4dc
commit
0c161c9e9c
1 changed files with 1 additions and 1 deletions
|
|
@ -706,7 +706,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