/// <summary> /// Opens the default playback device if not open and returns it. /// </summary> public static AlDevice GetDefault() { if (_defaultDevice == null || _defaultDevice._disposed) { _defaultDevice = new AlDevice(null); } return(_defaultDevice); }
internal AlContext(AlDevice device, IntPtr handle) { Device = device; Handle = handle; _sources = new List <AlSource>(); }