Exemple #1
0
        public List <ISoundChannel> GetChannelsFromSoundGroup(SoundGroups sg)
        {
            List <ISoundChannel> retChannels = new List <ISoundChannel>();

            foreach (var channel in AllChannels)
            {
                if (channel is SoundChannel && channel.CurrentSoundResource != null)
                {
                    if (((SoundResource)channel.CurrentSoundResource).SoundGroupEnum == sg)
                    {
                        retChannels.Add(channel);
                    }
                }
            }
            return(retChannels);
        }
 public ISoundGroup GetSoundGroup(SoundGroups sg)
 {
     return new DummySoundGroup();
 }
 public List<ISoundChannel> GetChannelsFromSoundGroup(SoundGroups sg)
 {
     return new List<ISoundChannel>();
 }
 public ISoundGroup GetSoundGroup(SoundGroups sg)
 {
     return soundGroups[sg];
 }
 public List<ISoundChannel> GetChannelsFromSoundGroup(SoundGroups sg)
 {
     List<ISoundChannel> retChannels = new List<ISoundChannel>();
     foreach (var channel in AllChannels)
     {
         if (channel is SoundChannel && channel.CurrentSoundResource != null)
         {
             if (((SoundResource)channel.CurrentSoundResource).SoundGroupEnum == sg)
                 retChannels.Add(channel);
         }
     }
     return retChannels;
 }
Exemple #6
0
 public List <ISoundChannel> GetChannelsFromSoundGroup(SoundGroups sg)
 {
     return(new List <ISoundChannel>());
 }
Exemple #7
0
 public ISoundGroup GetSoundGroup(SoundGroups sg)
 {
     return(new DummySoundGroup());
 }
Exemple #8
0
 public ISoundGroup GetSoundGroup(SoundGroups sg)
 {
     return(soundGroups[sg]);
 }