private SOBSSource _translateSource(OBSSourceItem input, int index = 0) { SOBSSource source = new SOBSSource(); source.Id = _uidFromString(input.Name + "_" + index.ToString()); source.Index = index; source.Name = input.Name; source.Muted = input.Muted; source.Video = false; source.Audio = _sourceHasAudio(input.TypeId); source.Type = input.Type; source.Volume = 0; return(source); }
private SOBSSource _translateSource(SLOBSSource input, int index = 0) { SOBSSource source = new SOBSSource(); source.Id = input.Id; source.Index = index; source.ResourceId = input.ResourceId; source.Name = input.Name; source.Muted = input.Muted; source.Video = input.Video; source.Audio = input.Audio; source.Type = input.Type; source.Volume = 0; return(source); }
private void Obs_SourceChanged(IOBSConnector sender, EOBSEvent eventtype, SOBSSource eventdata) { }