Skip to content

Commit

Permalink
update designer
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Mar 2, 2022
1 parent 03ea498 commit 8522f57
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 11 deletions.
9 changes: 9 additions & 0 deletions AudioAPI/WindowsAPI/Addons/ISessionController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using AudioAPI.WindowsAPI.Audio;

namespace AudioAPI.WindowsAPI.Addons
{
public interface ISessionController : ISimpleAudioVolume, IAudioSessionControl2
{
bool IsVirtual { get; }
}
}
19 changes: 19 additions & 0 deletions AudioAPI/WindowsAPI/Addons/SessionController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
namespace AudioAPI.WindowsAPI.Addons
{
public class SessionController
{
public SessionController(ISessionController sessionController)
{
Controller = sessionController;
IsVirtual = false;
}
public SessionController()
{
Controller = null;
IsVirtual = true;
}

public ISessionController? Controller;
public bool IsVirtual { get; }
}
}
22 changes: 11 additions & 11 deletions VolumeControl/VolumeControlForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8522f57

Please sign in to comment.