Skip to content

Commit 46f3e9e

Browse files
committed
3rd-party package updates + minor QoL improvement for PlayPlayMini.NAudio
1 parent 7ac4f53 commit 46f3e9e

File tree

5 files changed

+19
-12
lines changed

5 files changed

+19
-12
lines changed

BenMakesGames.PlayPlayMini.NAudio/BenMakesGames.PlayPlayMini.NAudio.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Company>Ben Hendel-Doying</Company>
66
<Description>Get seamless looping music, and cross-fade, in your MonoGame-PlayPlayMini game using NAudio.</Description>
77
<Copyright>2024-2025 Ben Hendel-Doying</Copyright>
8-
<Version>0.10.0</Version>
8+
<Version>0.11.0</Version>
99

1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<PackageTags>monogame playplaymini naudio music</PackageTags>

BenMakesGames.PlayPlayMini.NAudio/Model/NAudioSong.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,11 @@ public sealed record NAudioSongMeta(string Key, string Path, bool PreLoaded = fa
1212
/// right direction. The default Gain is 1.0.
1313
/// </summary>
1414
public float Gain { get; init; } = 1.0f;
15+
16+
/// <param name="keyAndPath">If the key and path are the same in your application, use this constructor</param>
17+
/// <param name="preLoaded">Whether to load this resource BEFORE entering the first GameState</param>
18+
public NAudioSongMeta(string keyAndPath, bool preLoaded = false)
19+
: this(keyAndPath, keyAndPath, preLoaded)
20+
{
21+
}
1522
}

BenMakesGames.PlayPlayMini.Performance/BenMakesGames.PlayPlayMini.Performance.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</ItemGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="BenchmarkDotNet" Version="0.15.2" />
15+
<PackageReference Include="BenchmarkDotNet" Version="0.15.5" />
1616
</ItemGroup>
1717

1818
</Project>

BenMakesGames.PlayPlayMini.Tests/BenMakesGames.PlayPlayMini.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
1414
<PackageReference Include="Shouldly" Version="4.3.0" />
1515
<PackageReference Include="xunit" Version="2.9.3" />
16-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4">
16+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
<PrivateAssets>all</PrivateAssets>
1919
</PackageReference>

BenMakesGames.PlayPlayMini/BenMakesGames.PlayPlayMini.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Company>Ben Hendel-Doying</Company>
66
<Description>An opinionated framework for making smallish games with MonoGame.</Description>
77
<Copyright>2021-2025 Ben Hendel-Doying</Copyright>
8-
<Version>6.3.0</Version>
8+
<Version>6.3.1</Version>
99

1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<PackageTags>monogame game engine framework di state</PackageTags>
@@ -25,13 +25,13 @@
2525

2626
<ItemGroup>
2727
<PackageReference Include="Autofac" Version="8.4.0" />
28-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.8" />
29-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.8" />
30-
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.8" />
31-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.8" />
32-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.8" />
33-
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
34-
<PackageReference Include="System.Text.Json" Version="9.0.8" />
28+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.10" />
29+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.10" />
30+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.10" />
31+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.10" />
32+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.10" />
33+
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1" />
34+
<PackageReference Include="System.Text.Json" Version="9.0.10" />
3535
</ItemGroup>
3636

3737
<ItemGroup>

0 commit comments

Comments
 (0)