/// <summary> /// Initializes an output device. /// </summary> /// <param name="device">The device to use; -1 = default, 0 = no sound, 1 = first real output</param> /// <param name="freq">Output sample rate</param> /// <param name="flags">Combination of BASSInitFlags</param> /// <param name="win">The application's main window; 0 = the current foregound window</param> /// <returns>true if the device was successfully initialized, else false</returns> public static bool BASS_Init(int device, UInt32 freq, BASSInitFlags flags, IntPtr win) { return(BASS_Init(device, freq, flags, win, IntPtr.Zero)); }
private static extern bool BASS_Init(int device, UInt32 freq, BASSInitFlags flags, IntPtr win, IntPtr clsid);