public void Pause() { if (_play) { _play = false; for (int i = 0; i < (Properties.Settings.Default.VolumeMax - Properties.Settings.Default.VolumeMin) / 2; i++) { VolumeChanger.VolumeDown(); } } }
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(); } }