Change start/stop functions for ALSA output to deal with an intermittent
authorbruceperens <bruceperens@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 25 Apr 2014 20:44:35 +0000 (20:44 +0000)
committerbruceperens <bruceperens@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 25 Apr 2014 20:44:35 +0000 (20:44 +0000)
commit37ebc0eee89003c3bf9a551bcd99c7fe4c53b72b
tree72ffa586123c51ea7ab49d551995fbb8601b6d4d
parent2dc14b2b0e5b18ec8df52b7257f464b4f61bfc51
Change start/stop functions for ALSA output to deal with an intermittent
"roughness" problem on the output. Always pre-load after underrun.
Use snd_pcm_drop() to stop, and don't call snd_pcm_prepare() until we're about
to write.

git-svn-id: https://svn.code.sf.net/p/freetel/code@1564 01035d8c-6547-0410-b346-abe4f91aad63
freedv-server/source/platform/linux/audio_out_alsa.cpp