From a022d9adb6f83062b59c12fcac349c575e8da36f Mon Sep 17 00:00:00 2001 From: joekolodz Date: Wed, 6 Nov 2024 18:40:01 -0600 Subject: [PATCH] remove unused mediaplayer code --- src/Factories/MediaPlayerFactory.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Factories/MediaPlayerFactory.cs b/src/Factories/MediaPlayerFactory.cs index a697a7a..e719148 100644 --- a/src/Factories/MediaPlayerFactory.cs +++ b/src/Factories/MediaPlayerFactory.cs @@ -1,5 +1,5 @@ -using SierraHOTAS.Models; -using System.Windows.Media; +using NAudio.Wave; +using SierraHOTAS.Models; namespace SierraHOTAS.Factories { @@ -7,7 +7,7 @@ public class MediaPlayerFactory { public virtual IMediaPlayer CreateMediaPlayer() { - return new MediaPlayerWrapper(new MediaPlayer()); + return new MediaPlayerWrapper(new WaveOutEvent()); } } }