2023-09-16 15:34:45 -06:00
|
|
|
|
using System;
|
2024-02-24 23:46:00 -07:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
2023-09-16 15:34:45 -06:00
|
|
|
|
|
|
|
|
|
namespace FocusVolumeControl.AudioSessions;
|
2023-08-20 20:52:48 -06:00
|
|
|
|
|
|
|
|
|
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();
|
2024-02-24 23:46:00 -07:00
|
|
|
|
|
|
|
|
|
public IEnumerable<int> Pids { get; }
|
2023-08-20 20:52:48 -06:00
|
|
|
|
}
|