예제 #1
0
파일: BASS.cs 프로젝트: kirileec/SoundEx
 /// <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));
 }
예제 #2
0
파일: BASS.cs 프로젝트: kirileec/SoundEx
 private static extern bool BASS_Init(int device, UInt32 freq, BASSInitFlags flags, IntPtr win, IntPtr clsid);