Sound(Linux): Treat default port as always active
This fixes no shown sound devices when no audio is currently played
This commit is contained in:
1 file changed
+1
@@ -31,6 +31,7 @@ static void paServerInfoCallback(pa_context *c, const pa_server_info *i, void *u
|
||||
if(ffStrbufEqualS(&device->manufacturer, i->default_sink_name))
|
||||
{
|
||||
device->main = true;
|
||||
device->active = true; // Treat the default sink as always active
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user