public static Board Open() { try { if (Board.board.IsNull()) { S2253.OpenBoard(-1); int deviceCount = 0; S2253.GetNumDevices(ref deviceCount); Board.board = new Board(deviceCount); } } catch (Exception) { } return(Board.board); }
public bool Stop() { return(S2253.StopStream(this.device, this.stream) == 0); }
public bool StartCallback() { return(S2253.StartCallback(this.device, this.stream) == 0); }
public bool StartRecord(string filename) { return(S2253.StartRecord(filename, this.device, this.stream) == 0); }
public bool StartPreview() { return(S2253.StartPreview(this.device, this.stream) == 0); }