private void Ddc1BandwidthChanged(int index) { var playing = true; // _model.Ddc2[_channel].AudioPlayer != null; _model.Ddc2[0].PlayStop(); _model.Ddc2[1].PlayStop(); _model.Ddc2[0].RecordStop(); _model.Stop(); _model.Radio.Ddc1().Ddc((uint)index); _model.Start(); if (playing) { _model.Ddc2[0].PlayStart(); _model.Ddc2[1].PlayStart(); } NotifyPropertyChanged("Ddc1BandwidthValue"); }
public void Dispose() { _model.Stop(); _model.Dispose(); }