improve sound browser debuggability by making it capture the window earlier so you can set a breakpoint and not have it just get VS info put in code to try to handle helldivers 2
23 lines
403 B
C#
23 lines
403 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
namespace FocusVolumeControl.AudioSessions;
|
|
|
|
public interface IAudioSession
|
|
{
|
|
public string DisplayName { get; }
|
|
|
|
public string GetIcon();
|
|
|
|
public void ToggleMute();
|
|
|
|
public bool IsMuted();
|
|
|
|
public void IncrementVolumeLevel(int step, int ticks);
|
|
|
|
public int GetVolumeLevel();
|
|
|
|
public IEnumerable<int> Pids { get; }
|
|
}
|