Skip to contentSkip to conversation

snd_pcm_hwsync / snd_pcm_avail_update problem

DISCUSSION Joe Hsu 1 participant 1 message Mar 16, 2006

lore
Share & tools
lore

Joe Hsu

author
#0 lore raw

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&kid0944&bid$1720&dat1642