예제 #1
0
        public PlayerService(CurrentAudioFileReaderAccessor audioAccessor)
        {
            _outputDevice  = new WaveOutEvent();
            _audioAccessor = audioAccessor;

            _outputDevice.PlaybackStopped += HandleInternalPlaybackStopped;
        }
예제 #2
0
 public CurrentAudioInformationReader(CurrentAudioFileReaderAccessor accessor)
 {
     _accessor              = accessor;
     _accessor.FileChanged += UpdateInformation;
 }