public PlayerService(CurrentAudioFileReaderAccessor audioAccessor) { _outputDevice = new WaveOutEvent(); _audioAccessor = audioAccessor; _outputDevice.PlaybackStopped += HandleInternalPlaybackStopped; }
public CurrentAudioInformationReader(CurrentAudioFileReaderAccessor accessor) { _accessor = accessor; _accessor.FileChanged += UpdateInformation; }