diff --git a/HyPlayer.PlayCore.Demo.AudioGraph.WinUI3/HyPlayer.PlayCore.Demo.AudioGraph.WinUI3.csproj b/HyPlayer.PlayCore.Demo.AudioGraph.WinUI3/HyPlayer.PlayCore.Demo.AudioGraph.WinUI3.csproj index 4b07201..4d4618c 100644 --- a/HyPlayer.PlayCore.Demo.AudioGraph.WinUI3/HyPlayer.PlayCore.Demo.AudioGraph.WinUI3.csproj +++ b/HyPlayer.PlayCore.Demo.AudioGraph.WinUI3/HyPlayer.PlayCore.Demo.AudioGraph.WinUI3.csproj @@ -30,9 +30,9 @@ - - - + + + diff --git a/HyPlayer.PlayCore.Implementation.AudioGraph/AudioGraphService.cs b/HyPlayer.PlayCore.Implementation.AudioGraph/AudioGraphService.cs index 9f794fe..8f630f3 100644 --- a/HyPlayer.PlayCore.Implementation.AudioGraph/AudioGraphService.cs +++ b/HyPlayer.PlayCore.Implementation.AudioGraph/AudioGraphService.cs @@ -322,7 +322,7 @@ private void OnPositionNotifyTimerElapsed(object sender, System.Timers.ElapsedEv } var value = MasterTicket.PlaybackMediaSourceInputNode.Position.TotalMilliseconds; var notification = new AudioGraphPlaybackPositionChangedNotification(value); - _notificationHub.PublishNotificationAsync(notification); + _notificationHub.PublishNotificationAsync(notification as PlaybackPositionChangedNotification); } public Task SetMasterTicketAsync(AudioGraphTicket graphTicket) diff --git a/HyPlayer.PlayCore.Implementation.AudioGraph/HyPlayer.PlayCore.Implementation.AudioGraphService.csproj b/HyPlayer.PlayCore.Implementation.AudioGraph/HyPlayer.PlayCore.Implementation.AudioGraphService.csproj index 4c60186..792fe70 100644 --- a/HyPlayer.PlayCore.Implementation.AudioGraph/HyPlayer.PlayCore.Implementation.AudioGraphService.csproj +++ b/HyPlayer.PlayCore.Implementation.AudioGraph/HyPlayer.PlayCore.Implementation.AudioGraphService.csproj @@ -11,9 +11,9 @@ - - - + + + diff --git a/HyPlayer.PlayCore.Tests/HyPlayer.PlayCore.Tests.csproj b/HyPlayer.PlayCore.Tests/HyPlayer.PlayCore.Tests.csproj index 6b970cc..6bbd07c 100644 --- a/HyPlayer.PlayCore.Tests/HyPlayer.PlayCore.Tests.csproj +++ b/HyPlayer.PlayCore.Tests/HyPlayer.PlayCore.Tests.csproj @@ -9,13 +9,13 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/HyPlayer.PlayCore.sln b/HyPlayer.PlayCore.sln index ac0242b..594520d 100644 --- a/HyPlayer.PlayCore.sln +++ b/HyPlayer.PlayCore.sln @@ -13,7 +13,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HyPlayer.PlayCore.Benchmark EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HyPlayer.PlayCore.Implementation.AudioGraphService", "HyPlayer.PlayCore.Implementation.AudioGraph\HyPlayer.PlayCore.Implementation.AudioGraphService.csproj", "{0666E0F5-5AEE-4D0B-989A-53A17D08D104}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HyPlayer.PlayCore.Demo.AudioGraph.WinUI3", "HyPlayer.PlayCore.Demo.AudioGraph.WinUI3\HyPlayer.PlayCore.Demo.AudioGraph.WinUI3.csproj", "{099B9FAB-9D05-41E7-88FE-38665110EF4B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HyPlayer.PlayCore.Demo.AudioGraph.WinUI3", "HyPlayer.PlayCore.Demo.AudioGraph.WinUI3\HyPlayer.PlayCore.Demo.AudioGraph.WinUI3.csproj", "{099B9FAB-9D05-41E7-88FE-38665110EF4B}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/HyPlayer.PlayCore/HyPlayer.PlayCore.csproj b/HyPlayer.PlayCore/HyPlayer.PlayCore.csproj index 1830f24..a828331 100644 --- a/HyPlayer.PlayCore/HyPlayer.PlayCore.csproj +++ b/HyPlayer.PlayCore/HyPlayer.PlayCore.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + netstandard2.0 enable enable default @@ -18,8 +18,8 @@ - - + +