mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
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:
@@ -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