public AudioMixerViewModel()
 {
     Apps = new ObservableCollection<AppItemViewModel>();
     _audioService = new EarTrumpetAudioSessionService();
     _deviceService = new EarTrumpetAudioDeviceService();
     _proxy = new AudioMixerViewModelCallbackProxy(_audioService, _deviceService);
 }
 public AudioMixerViewModel()
 {
     Apps           = new ObservableCollection <AppItemViewModel>();
     _audioService  = new EarTrumpetAudioSessionService();
     _deviceService = new EarTrumpetAudioDeviceService();
     _proxy         = new AudioMixerViewModelCallbackProxy(_audioService, _deviceService);
 }
Exemple #3
0
 public AudioMixerViewModel(EarTrumpetAudioSessionService audioService, EarTrumpetAudioDeviceService deviceService)
 {
     Apps           = new ObservableCollection <AppItemViewModel>();
     _audioService  = audioService;
     _deviceService = deviceService;
     _deviceService.MasterVolumeChanged += DeviceService_MasterVolumeChanged;
     _proxy = new AudioMixerViewModelCallbackProxy(_audioService, _deviceService);
     Refresh();
 }