From 5b52d2c4c240c3fd8e142118311318209e40b9ca Mon Sep 17 00:00:00 2001 From: Simon G Date: Wed, 7 Apr 2021 15:41:50 +0200 Subject: [PATCH] - add lib.audio with first api layout --- Lib.Audio/Controls/Interfaces/IButton.cs | 11 +++++++++++ Lib.Audio/Controls/Interfaces/IFader.cs | 11 +++++++++++ Lib.Audio/Controls/Interfaces/IKnob.cs | 11 +++++++++++ Lib.Audio/Interfaces/IChannel.cs | 18 ++++++++++++++++++ Lib.Audio/Interfaces/IControllable.cs | 11 +++++++++++ Lib.Audio/Interfaces/IDevice.cs | 13 +++++++++++++ Lib.Audio/Lib.Audio.csproj | 7 +++++++ Mystify.sln | 6 ++++++ 8 files changed, 88 insertions(+) create mode 100644 Lib.Audio/Controls/Interfaces/IButton.cs create mode 100644 Lib.Audio/Controls/Interfaces/IFader.cs create mode 100644 Lib.Audio/Controls/Interfaces/IKnob.cs create mode 100644 Lib.Audio/Interfaces/IChannel.cs create mode 100644 Lib.Audio/Interfaces/IControllable.cs create mode 100644 Lib.Audio/Interfaces/IDevice.cs create mode 100644 Lib.Audio/Lib.Audio.csproj diff --git a/Lib.Audio/Controls/Interfaces/IButton.cs b/Lib.Audio/Controls/Interfaces/IButton.cs new file mode 100644 index 0000000..baf40ac --- /dev/null +++ b/Lib.Audio/Controls/Interfaces/IButton.cs @@ -0,0 +1,11 @@ +// Author: Gockner, Simon +// Created: 2021-04-07 +// Copyright(c) 2021 SimonG. All Rights Reserved. + +namespace Lib.Audio.Controls.Interfaces +{ + public interface IButton + { + + } +} \ No newline at end of file diff --git a/Lib.Audio/Controls/Interfaces/IFader.cs b/Lib.Audio/Controls/Interfaces/IFader.cs new file mode 100644 index 0000000..1741180 --- /dev/null +++ b/Lib.Audio/Controls/Interfaces/IFader.cs @@ -0,0 +1,11 @@ +// Author: Gockner, Simon +// Created: 2021-04-07 +// Copyright(c) 2021 SimonG. All Rights Reserved. + +namespace Lib.Audio.Controls.Interfaces +{ + public interface IFader + { + + } +} \ No newline at end of file diff --git a/Lib.Audio/Controls/Interfaces/IKnob.cs b/Lib.Audio/Controls/Interfaces/IKnob.cs new file mode 100644 index 0000000..38f7c17 --- /dev/null +++ b/Lib.Audio/Controls/Interfaces/IKnob.cs @@ -0,0 +1,11 @@ +// Author: Gockner, Simon +// Created: 2021-04-07 +// Copyright(c) 2021 SimonG. All Rights Reserved. + +namespace Lib.Audio.Controls.Interfaces +{ + public interface IKnob + { + + } +} \ No newline at end of file diff --git a/Lib.Audio/Interfaces/IChannel.cs b/Lib.Audio/Interfaces/IChannel.cs new file mode 100644 index 0000000..1cba913 --- /dev/null +++ b/Lib.Audio/Interfaces/IChannel.cs @@ -0,0 +1,18 @@ +// Author: Gockner, Simon +// Created: 2021-04-07 +// Copyright(c) 2021 SimonG. All Rights Reserved. + +using System.Collections.Generic; +using Lib.Audio.Controls.Interfaces; + +namespace Lib.Audio.Interfaces +{ + public interface IChannel + { + IFader Fader { get; } + IKnob Knob { get; } + List Buttons { get; } + + IControllable Controllable { get; } + } +} \ No newline at end of file diff --git a/Lib.Audio/Interfaces/IControllable.cs b/Lib.Audio/Interfaces/IControllable.cs new file mode 100644 index 0000000..91c8fce --- /dev/null +++ b/Lib.Audio/Interfaces/IControllable.cs @@ -0,0 +1,11 @@ +// Author: Gockner, Simon +// Created: 2021-04-07 +// Copyright(c) 2021 SimonG. All Rights Reserved. + +namespace Lib.Audio.Interfaces +{ + public interface IControllable + { + + } +} \ No newline at end of file diff --git a/Lib.Audio/Interfaces/IDevice.cs b/Lib.Audio/Interfaces/IDevice.cs new file mode 100644 index 0000000..bcfc0bf --- /dev/null +++ b/Lib.Audio/Interfaces/IDevice.cs @@ -0,0 +1,13 @@ +// Author: Gockner, Simon +// Created: 2021-04-07 +// Copyright(c) 2021 SimonG. All Rights Reserved. + +using System.Collections.Generic; + +namespace Lib.Audio.Interfaces +{ + public interface IDevice + { + List Channels { get; } + } +} \ No newline at end of file diff --git a/Lib.Audio/Lib.Audio.csproj b/Lib.Audio/Lib.Audio.csproj new file mode 100644 index 0000000..cbfa581 --- /dev/null +++ b/Lib.Audio/Lib.Audio.csproj @@ -0,0 +1,7 @@ + + + + net5.0 + + + diff --git a/Mystify.sln b/Mystify.sln index 8a9b29e..80c483f 100644 --- a/Mystify.sln +++ b/Mystify.sln @@ -4,6 +4,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mystify", "Mystify\Mystify. EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lib.NotifyIcon", "Lib.NotifyIcon\Lib.NotifyIcon.csproj", "{47CF9922-FBF5-4AA0-9A4C-0A9405A62E7E}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lib.Audio", "Lib.Audio\Lib.Audio.csproj", "{CAE0A6C0-7556-4767-9A93-1480E2E60749}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -18,5 +20,9 @@ Global {47CF9922-FBF5-4AA0-9A4C-0A9405A62E7E}.Debug|Any CPU.Build.0 = Debug|Any CPU {47CF9922-FBF5-4AA0-9A4C-0A9405A62E7E}.Release|Any CPU.ActiveCfg = Release|Any CPU {47CF9922-FBF5-4AA0-9A4C-0A9405A62E7E}.Release|Any CPU.Build.0 = Release|Any CPU + {CAE0A6C0-7556-4767-9A93-1480E2E60749}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CAE0A6C0-7556-4767-9A93-1480E2E60749}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CAE0A6C0-7556-4767-9A93-1480E2E60749}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CAE0A6C0-7556-4767-9A93-1480E2E60749}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal