Use the lightweight snd_pcm_avail_update() rather than snd_pcm_avail_delay().
authorbruceperens <bruceperens@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 25 Apr 2014 21:05:04 +0000 (21:05 +0000)
committerbruceperens <bruceperens@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 25 Apr 2014 21:05:04 +0000 (21:05 +0000)
commitf0a4471303f396d10ea04f9c195967e5b4cac3d5
treee20e352984fd6117e22627468b30f8a3712ce5df
parent43fa1b942376f0b76a582d297e66e66a9c82062a
Use the lightweight snd_pcm_avail_update() rather than snd_pcm_avail_delay().
This isn't guaranteed to synchronize with the hardware, at least on output,
but apparently does enough so that in combination with poll() we are provided
with period timing.

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