/// <summary> /// 初始化 /// </summary> /// <param name="device"></param> /// <param name="freq"></param> /// <param name="flags"></param> /// <param name="win"></param> /// <param name="clsid"></param> /// <returns></returns> public static bool BASS_Init(int device, int freq, BASSInit flags, IntPtr win, IntPtr clsid) { if (Environment.Is64BitProcess) { return(BassX64.BASS_Init(device, freq, flags, win, clsid)); } else { return(BassX86.BASS_Init(device, freq, flags, win, clsid)); } }