Skip to content

Commit

Permalink
Merge pull request #88 from microsoft/pete-dev
Browse files Browse the repository at this point in the history
Updated main architecture diagram and also continued work on SDK shaping
  • Loading branch information
Psychlist1972 authored Jun 26, 2023
2 parents 0990fd8 + 235132a commit 5d8f178
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 30 deletions.
Binary file modified img/high-level-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 18 additions & 18 deletions src/app-dev-sdk/sdk-core/Microsoft.Devices.Midi2.Core.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -143,18 +143,18 @@
<ClInclude Include="MidiDeviceInformation.h">
<DependentUpon>MidiDeviceInformation.idl</DependentUpon>
</ClInclude>
<ClInclude Include="MidiMessageReader.h">
<DependentUpon>MidiMessageReader.idl</DependentUpon>
</ClInclude>
<ClInclude Include="MidiMessagesReceivedEventArgs.h">
<DependentUpon>MidiMessagesReceivedEventArgs.idl</DependentUpon>
</ClInclude>
<ClInclude Include="MidiMessageReader.h">
<DependentUpon>MidiMessageReader.idl</DependentUpon>
</ClInclude>
<ClInclude Include="MidiMessagesReceivedEventArgs.h">
<DependentUpon>MidiMessagesReceivedEventArgs.idl</DependentUpon>
</ClInclude>
<ClInclude Include="MidiMessageTranslator.h">
<DependentUpon>MidiMessageTranslator.idl</DependentUpon>
</ClInclude>
<ClInclude Include="MidiMessageWriter.h">
<DependentUpon>MidiMessageWriter.idl</DependentUpon>
</ClInclude>
<ClInclude Include="MidiMessageWriter.h">
<DependentUpon>MidiMessageWriter.idl</DependentUpon>
</ClInclude>
<ClInclude Include="MidiServices.h">
<DependentUpon>MidiServices.idl</DependentUpon>
</ClInclude>
Expand Down Expand Up @@ -216,18 +216,18 @@
<ClCompile Include="MidiDeviceInformation.cpp">
<DependentUpon>MidiDeviceInformation.idl</DependentUpon>
</ClCompile>
<ClCompile Include="MidiMessageReader.cpp">
<DependentUpon>MidiMessageReader.idl</DependentUpon>
</ClCompile>
<ClCompile Include="MidiMessagesReceivedEventArgs.cpp">
<DependentUpon>MidiMessagesReceivedEventArgs.idl</DependentUpon>
</ClCompile>
<ClCompile Include="MidiMessageReader.cpp">
<DependentUpon>MidiMessageReader.idl</DependentUpon>
</ClCompile>
<ClCompile Include="MidiMessagesReceivedEventArgs.cpp">
<DependentUpon>MidiMessagesReceivedEventArgs.idl</DependentUpon>
</ClCompile>
<ClCompile Include="MidiMessageTranslator.cpp">
<DependentUpon>MidiMessageTranslator.idl</DependentUpon>
</ClCompile>
<ClCompile Include="MidiMessageWriter.cpp">
<DependentUpon>MidiMessageWriter.idl</DependentUpon>
</ClCompile>
<ClCompile Include="MidiMessageWriter.cpp">
<DependentUpon>MidiMessageWriter.idl</DependentUpon>
</ClCompile>
<ClCompile Include="MidiServices.cpp">
<DependentUpon>MidiServices.idl</DependentUpon>
</ClCompile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@
<Midl Include="MidiGroupTerminalBlock.idl">
<Filter>SDK\Enumeration</Filter>
</Midl>
<Midl Include="MidiMessagesReceivedEvent.idl">
<Filter>SDK\Endpoints</Filter>
</Midl>
<Midl Include="UmpWithTimestamp.idl">
<Filter>SDK\Messages</Filter>
</Midl>
Expand All @@ -172,6 +169,7 @@
<Midl Include="MidiMessageWriter.idl">
<Filter>SDK\Endpoints</Filter>
</Midl>
<Midl Include="MidiMessagesReceivedEventArgs.idl" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand Down
2 changes: 1 addition & 1 deletion src/app-dev-sdk/sdk-core/MidiMessageReader.idl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Microsoft.Devices.Midi2
};

[default_interface]
runtimeclass MidiMessageReader // : Windows.Foundation.IClosable
runtimeclass MidiMessageReader // not IClosable because this needs to keep the lifetime of the EndpointConnection
{
//MidiMessageReader();

Expand Down
2 changes: 1 addition & 1 deletion src/app-dev-sdk/sdk-core/MidiMessageWriter.idl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Microsoft.Devices.Midi2
};

[default_interface]
runtimeclass MidiMessageWriter // : Windows.Foundation.IClosable
runtimeclass MidiMessageWriter // not IClosable because this needs to keep the lifetime of the EndpointConnection
{
//MidiMessageWriter();

Expand Down
1 change: 1 addition & 0 deletions src/app-dev-sdk/sdk-core/MidiServices.idl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "MidiTransportInformation.idl";

namespace Microsoft.Devices.Midi2
{
// I strongly dislike the name of this enum
enum WindowsMidiServicesCheckError
{
IncompatibleVersion = 100,
Expand Down
8 changes: 1 addition & 7 deletions src/app-dev-sdk/sdk-core/UmpWithTimestamp.idl
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
// Further information: https://github.com/microsoft/MIDI/
// ============================================================================


// NOTE: This is likely to change. We're working on the correct buffers to speak to the service
// and API. That buffer also deals with timestamps and more. Intent is to provide UMP types
// for folks who wish to use them, and direct access to buffers of MIDI words for those who
// prefer that approach.

import "Ump.idl";

namespace Microsoft.Devices.Midi2
Expand All @@ -21,7 +15,7 @@ namespace Microsoft.Devices.Midi2
// JR timestamp if we decide to just pass them through

[default_interface]
unsealed runtimeclass UmpWithTimestamp
runtimeclass UmpWithTimestamp
{
UmpWithTimestamp();

Expand Down

0 comments on commit 5d8f178

Please sign in to comment.