aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/alsa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/backends/alsa.c b/Alc/backends/alsa.c
index 4892c8d4..a9f34491 100644
--- a/Alc/backends/alsa.c
+++ b/Alc/backends/alsa.c
@@ -1051,8 +1051,7 @@ static ALCenum alsa_capture_samples(ALCdevice *Device, ALCvoid *Buffer, ALCuint
continue;
if((amt=snd_pcm_recover(data->pcmHandle, amt, 1)) >= 0)
{
- if(data->doCapture)
- amt = snd_pcm_start(data->pcmHandle);
+ amt = snd_pcm_start(data->pcmHandle);
if(amt >= 0)
amt = snd_pcm_avail_update(data->pcmHandle);
}