コード例 #1
0
 /// <summary>
 /// 获取当前播放位置
 /// </summary>
 /// <param name="handle"></param>
 /// <param name="mode"></param>
 /// <returns></returns>
 public static long BASS_ChannelGetPosition(int handle, BASSMode mode)
 {
     if (Environment.Is64BitProcess)
     {
         return(BassX64.BASS_ChannelGetPosition(handle, mode));
     }
     else
     {
         return(BassX86.BASS_ChannelGetPosition(handle, mode));
     }
 }