From: bruceperens Date: Fri, 25 Apr 2014 21:59:35 +0000 (+0000) Subject: Oops, use snd_pcm_drain() for drain, not snd_pcm_wait(). X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=860eeba29c72596d1671b4246fa56e3e4e887cf9;p=freetel-svn-tracking.git Oops, use snd_pcm_drain() for drain, not snd_pcm_wait(). git-svn-id: https://svn.code.sf.net/p/freetel/code@1570 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/freedv-server/source/platform/linux/audio_out_alsa.cpp b/freedv-server/source/platform/linux/audio_out_alsa.cpp index a89e7ce1..e14daa27 100644 --- a/freedv-server/source/platform/linux/audio_out_alsa.cpp +++ b/freedv-server/source/platform/linux/audio_out_alsa.cpp @@ -123,7 +123,7 @@ namespace FreeDV { void AudioOutALSA::drain() { - snd_pcm_wait(handle, 1000); + snd_pcm_drain(handle); } // Write audio into the "short" type.