All of lore.kernel.org
 help / color / mirror / Atom feed
* snd_pcm_wait returning EPIPE
@ 2004-10-07 15:26 Glenn Maynard
  2004-10-11 10:18 ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Glenn Maynard @ 2004-10-07 15:26 UTC (permalink / raw)
  To: alsa-devel

I've disabled the underrun state, eg. setting
snd_pcm_sw_params_set_stop_threshold to dsnd_pcm_sw_params_get_boundary,
which results in EPIPE never being returned from snd_pcm_wait (as I wanted),
so I can handle underruns myself.  I'm opening hw:0 directly, to avoid
resampling.

However, I'm receiving a report of a system returning EPIPE:

https://sourceforge.net/tracker/index.php?func=detail&aid=1035604&group_id=37892&atid=421366
https://sourceforge.net/tracker/download.php?group_id=37892&atid=421366&file_id=103978&aid=1035604

This is apparently on an x86-64 system.

Is this a known problem?  Am I probably doing something wrong that just
happens to usually work?  I'm treating EPIPE as an unexpected condition,
since it's not clear why it would happen here; should I have it call
snd_pcm_prepare() and retry anyway?

-- 
Glenn Maynard


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-12 19:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-07 15:26 snd_pcm_wait returning EPIPE Glenn Maynard
2004-10-11 10:18 ` Takashi Iwai
2004-10-11 14:11   ` Glenn Maynard
2004-10-11 15:17     ` Takashi Iwai
2004-10-11 15:26       ` Glenn Maynard
2004-10-12 19:30         ` Glenn Maynard
2004-10-12 19:31         ` Glenn Maynard

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.