Fluidsynth3 compat (#3850)

This commit is contained in:
Skye
2023-03-19 04:32:25 -07:00
committed by GitHub
parent bfa9965056
commit 07ad8cf4ed
2 changed files with 5 additions and 5 deletions

View File

@@ -550,7 +550,7 @@ internal sealed partial class MidiManager : IMidiManager
return 0;
}
public override int Seek(IntPtr sfHandle, int offset, SeekOrigin origin)
public override int Seek(IntPtr sfHandle, long offset, SeekOrigin origin)
{
var stream = _openStreams[(int) sfHandle];
@@ -559,11 +559,11 @@ internal sealed partial class MidiManager : IMidiManager
return 0;
}
public override int Tell(IntPtr sfHandle)
public override long Tell(IntPtr sfHandle)
{
var stream = _openStreams[(int) sfHandle];
return (int) stream.Position;
return (long) stream.Position;
}
public override int Close(IntPtr sfHandle)

View File

@@ -15,7 +15,7 @@
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="6.0.9" />
<PackageReference Include="SQLitePCLRaw.provider.sqlite3" Version="2.1.2" Condition="'$(UseSystemSqlite)' == 'True'" />
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.2" Condition="'$(UseSystemSqlite)' != 'True'" />
<PackageReference Include="SpaceWizards.NFluidsynth" Version="0.1.0" />
<PackageReference Include="SpaceWizards.NFluidsynth" Version="0.1.1" />
<PackageReference Include="NVorbis" Version="0.10.1" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.3" />
<PackageReference Include="OpenToolkit.Graphics" Version="4.0.0-pre9.1" />
@@ -57,6 +57,6 @@
<Import Project="..\MSBuild\Robust.Properties.targets" />
<Import Project="..\MSBuild\XamlIL.targets" />
<Import Project="..\MSBuild\Robust.Trimming.targets" />
</Project>