Skip to content

Commit

Permalink
Merge PR #3418: ALSAAudioInput: use snd_pcm_drop() instead of snd_pcm…
Browse files Browse the repository at this point in the history
…_drain() in class destructor
  • Loading branch information
davidebeatrici committed Dec 15, 2018
2 parents 1a95cff + fbbdf2e commit d7ef517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mumble/ALSAAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ void ALSAAudioInput::run() {
}
}

snd_pcm_drain(capture_handle);
snd_pcm_drop(capture_handle);
snd_pcm_close(capture_handle);

qWarning("ALSAAudioInput: Releasing ALSA Mic.");
Expand Down

0 comments on commit d7ef517

Please sign in to comment.