Beispiel #1
0
        protected Bus(string name, BusTypes busType, BusInfo.BusFlags flags)
        {
            Name    = name;
            BusType = busType;
            Flags   = flags;

            IsActive = (flags & BusInfo.BusFlags.DefaultActive) != 0;
        }
Beispiel #2
0
 public AudioBus(SpeakerArrangement speakerArr, string name, BusTypes busType, BusInfo.BusFlags flags)
     : base(name, busType, flags)
 {
     SpeakerArrangement = speakerArr;
 }
Beispiel #3
0
 public EventBus(string name, int channelCount, BusTypes busType, BusInfo.BusFlags flags)
     : base(name, busType, flags)
 {
     MediaType    = MediaTypes.Event;
     ChannelCount = channelCount;
 }
Beispiel #4
0
 public AudioBus(string name, SpeakerArrangement speakerArr, BusTypes busType, BusInfo.BusFlags flags)
     : base(name, busType, flags)
 {
     MediaType          = MediaTypes.Audio;
     SpeakerArrangement = speakerArr;
 }