Пример #1
0
 public WaveformService()
 {
     _loggingService   = new LoggingService();
     _metadataService  = new MetadataService();
     _audioFileService = new AudioFileService();
     _fileService      = new FileService();
 }
Пример #2
0
 public AudioPlayService(string baseDirectory, string fileName)
 {
     _metadataService  = new MetadataService();
     _audioFileService = new AudioFileService();
     _metadata         = _metadataService.GetRecordingMetadata(baseDirectory, fileName);
     _fullPathToAudio  = _audioFileService.GetFullPathToRecording(baseDirectory, fileName);
 }