* snd_pcm_hwsync
@ 2006-03-15 12:06 Joe Hsu
2006-03-15 12:13 ` snd_pcm_hwsync Jaroslav Kysela
0 siblings, 1 reply; 3+ messages in thread
From: Joe Hsu @ 2006-03-15 12:06 UTC (permalink / raw)
To: alsa-devel
Hi all:
Sometimes, snd_pcm_hwsync would return -32 (-EPIPE).
I can't see why. After snd_pcm_hwsync failed, snd_pcm_avail_update
would return a much bigger positive value than pcm_hw_bufsize.
Can any one tell me why? and how to avoid such questions?
--
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\x110944&bid$1720&dat\x121642
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: snd_pcm_hwsync
2006-03-15 12:06 snd_pcm_hwsync Joe Hsu
@ 2006-03-15 12:13 ` Jaroslav Kysela
2006-03-16 15:26 ` snd_pcm_hwsync nagual.hsu
0 siblings, 1 reply; 3+ messages in thread
From: Jaroslav Kysela @ 2006-03-15 12:13 UTC (permalink / raw)
To: Joe Hsu; +Cc: alsa-devel
yOn Wed, 15 Mar 2006, Joe Hsu wrote:
> Hi all:
> Sometimes, snd_pcm_hwsync would return -32 (-EPIPE).
> I can't see why. After snd_pcm_hwsync failed, snd_pcm_avail_update
> would return a much bigger positive value than pcm_hw_bufsize.
>
> Can any one tell me why? and how to avoid such questions?
-EPIPE means xrun (over or underrun - new data exceed the ring buffer
or an application does not put new data in time)
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: snd_pcm_hwsync
2006-03-15 12:13 ` snd_pcm_hwsync Jaroslav Kysela
@ 2006-03-16 15:26 ` nagual.hsu
0 siblings, 0 replies; 3+ messages in thread
From: nagual.hsu @ 2006-03-16 15:26 UTC (permalink / raw)
To: alsa-devel
>
> yOn Wed, 15 Mar 2006, Joe Hsu wrote:
>
> > Hi all:
> > Sometimes, snd_pcm_hwsync would return -32 (-EPIPE).
> > I can't see why. After snd_pcm_hwsync failed, snd_pcm_avail_update
> > would return a much bigger positive value than pcm_hw_bufsize.
> -EPIPE means xrun (over or underrun - new data exceed the ring buffer
> or an application does not put new data in time)
>
> Jaroslav
>
> -----
I will check out. I used real time scheduling already. Maybe I should
enlarge snd_pcm_hwbufsize. 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-16 15:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 12:06 snd_pcm_hwsync Joe Hsu
2006-03-15 12:13 ` snd_pcm_hwsync Jaroslav Kysela
2006-03-16 15:26 ` snd_pcm_hwsync nagual.hsu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.