public void Play() { if (!_play) { _play = true; for (int i = 0; i < (Properties.Settings.Default.VolumeMax - Properties.Settings.Default.VolumeMin) / 2; i++) { VolumeChanger.VolumeUp(); } } }
public SoundSync() { Thread thread = new Thread(StartLibZPlay); thread.Start(); Pause(); for (int i = 0; i < 50; i++) { VolumeChanger.VolumeDown(); } for (int i = 0; i < Properties.Settings.Default.VolumeMin / 2; i++) { VolumeChanger.VolumeUp(); } }