Exemple #1
0
 public override void Play(ISoundable sound)
 {
     ///there is no sound splitting. It is just unofficial headset:)
     Output.WriteLine($"{nameof(UnofficialHeadset)} sound");
     Speaker1.Play(sound);
     Speaker2.Play(sound);
 }
Exemple #2
0
 public override void Play(ISoundable sound)
 {
     ///Sound should be splitted into 2 parts to make stereo effect.
     ///In reality spliited sound will be different, so just imagine that they diifers:)
     ISoundable[] sounds = SplitSound(sound);
     Output.WriteLine($"{nameof(SamsungHeadset)} sound");
     Speaker1.Play(sounds[0]);
     Speaker2.Play(sounds[1]);
 }
Exemple #3
0
 public override void Play(ISoundable sound)
 {
     Output.WriteLine($"{nameof(MonauralSpeakerSystem)} sound");
     Speaker1.Play(sound);
 }
Exemple #4
0
 public override void Play(ISoundable sound)
 {
     Output.Write($"{nameof(ExternalSpeaker)} sound");
     Speaker1.Play(sound);
 }