Skip to content

Commit 888f899

Browse files
Merge pull request #2 from RiritoNinigaya/FixedBASSLib-AddedExample
Update BASS.cs
2 parents b387fa5 + c2db475 commit 888f899

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

BASSdotNET/BASS.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Runtime.InteropServices;
@@ -22,7 +22,7 @@ public class BASS
2222
public static extern UInt32 BASS_StreamCreateFile(int mem, string filename, int offset, int length, int flags);
2323

2424
[DllImport(@"bass.dll")]
25-
public static extern void BASS_ChannelPlay(int handle, bool restart);
25+
public static extern void BASS_ChannelPlay(UInt32 handle, bool restart);
2626

2727
public bool Init_Bass(int dev_id, Int32 frequence, Int32 flags_bass ,int windows, int dsGUID)
2828
{
@@ -66,7 +66,7 @@ public UInt32 CreateBASS_FileStream(int m, string file_name, int offs, int lengt
6666
}
6767
return fx;
6868
}
69-
public void ChannelPlay(int hx, bool restart_music)
69+
public void ChannelPlay(UInt32 hx, bool restart_music)
7070
{
7171
BASS_ChannelPlay(hx, restart_music);
7272
}

0 commit comments

Comments
 (0)