Exemplo n.º 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);
 }
Exemplo n.º 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]);
 }