github-16 - previous app was not functioning
This commit is contained in:
parent
f5ab700817
commit
cd306b0aab
@ -146,7 +146,13 @@ public class AudioHelper
|
||||
if (_currentProcesses == null || !_currentProcesses.SequenceEqual(processIds) || _retryFallbackCount == 5)
|
||||
{
|
||||
_retryFallbackCount = 0;
|
||||
Current = FindSession(processes);
|
||||
|
||||
var newSession = FindSession(processes);
|
||||
|
||||
if(newSession != null || fallbackBehavior != FallbackBehavior.PreviousApp)
|
||||
{
|
||||
Current = newSession;
|
||||
}
|
||||
}
|
||||
else if(Current is SystemSoundsAudioSession || Current is SystemVolumeAudioSession)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user