From: Bellai Ádám Date: Tue, 14 Nov 2017 08:16:15 +0000 (+0000) Subject: git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube... X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=4c667867a315bb70152c1ccdf52d9ca4078920ec;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C30725 --- diff --git a/client/AudioRecorder/WavRecorder.cs b/client/AudioRecorder/WavRecorder.cs index f80d3184..73b70acf 100644 --- a/client/AudioRecorder/WavRecorder.cs +++ b/client/AudioRecorder/WavRecorder.cs @@ -16,7 +16,7 @@ namespace AudioRecorder { private List createdWavFiles; private MMDevice device; private IMainForm mainForm; - private bool pausing; + private volatile bool pausing; public WavRecorder(int inputDeviceIndex, MMDevice device, IMainForm mainForm) { this.inputDeviceIndex = inputDeviceIndex;