コード例 #1
0
 /// <summary>
 /// 获取通道数据
 /// </summary>
 /// <param name="handle">音频句柄</param>
 /// <param name="buffer">缓存数组</param>
 /// <param name="length">长度</param>
 /// <returns>实际长度</returns>
 public static int BASS_ChannelGetData(int handle, float[] buffer, int length)
 {
     if (Environment.Is64BitProcess)
     {
         return(BassX64.BASS_ChannelGetData(handle, buffer, length));
     }
     else
     {
         return(BassX86.BASS_ChannelGetData(handle, buffer, length));
     }
 }