Example #1
0
        public SoundViewModel(MainWindow mainWindow)
        {
            soundList       = new SoundList();
            this.mainWindow = mainWindow;
            Sounds          = soundList.MakeSoundList();

            devices = new List <String>();
            for (int n = 0; n < WaveOut.DeviceCount; n++)
            {
                devices.Add(WaveOut.GetCapabilities(n).ProductName.ToString());
            }
        }