RonBOakes / conlang_audio_honing

A tool for using speach to hone the sound of a conlang (constructed language)
GNU General Public License v3.0
1 stars 0 forks source link

Use the .NET MediaPlayer class #41

Closed RonBOakes closed 5 months ago

RonBOakes commented 5 months ago

Update the code to use the MediaPlayer class rather than the deprecated WMPLib.WindowsMediaPlayer

RonBOakes commented 5 months ago

The solution to the issue preventing adding System.Windows.Media to the project can be found on Stack Overflow.

Add the following to the .csproj file (at the top level)

\<ItemGroup> \<FrameworkReference Include="Microsoft.WindowsDesktop.App" /> \</ItemGroup>

RonBOakes commented 5 months ago

Resolved with commit d129fe9