From: "Joe Hsu" Subject: snd_pcm_hwsync / snd_pcm_avail_update problem Date: Thu, 16 Mar 2006 21:19:25 +0800 Message-ID: <7fe205990603160519u160c02f8i@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org When playing back or capturing digital audio samples from alsa devices, I use snd_pcm_hwsync and snd_pcm_avail_update. But sometimes snd_pcm_hwsync fails and then snd_pcm_avail_update would return a much bigger value than snd_pcm_hwbufsize. snd_pcm_hwsync returns -32(-EPIPE) when it fails. Can someone explains why? Thanks. :) -- The sun is shinny but the ice is slippery. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642