Use audio display name if available
This commit is contained in:
@ -68,8 +68,15 @@ public class AudioHelper
|
||||
{
|
||||
bestProcessMatch = audioProcess;
|
||||
currentIndex = index;
|
||||
|
||||
if(string.IsNullOrEmpty(results.DisplayName))
|
||||
{
|
||||
session.GetDisplayName(out var displayName);
|
||||
results.DisplayName = displayName;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//some apps like discord have multiple volume processes.
|
||||
//and some apps will be on multiple devices
|
||||
//so we add all sessions so we can keep them in sync
|
||||
|
Reference in New Issue
Block a user