mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
Merge b64812244a into 1bf6279fc7
This commit is contained in:
commit
83e89d3de4
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
|
// Just want sink and source
|
||||||
if (!SDL_strcasecmp(media_class, "Audio/Sink")) {
|
if (!SDL_strcasecmp(media_class, "Audio/Sink")) {
|
||||||
recording = false;
|
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;
|
recording = true;
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue