All of lore.kernel.org
 help / color / mirror / Atom feed
* playback in multiple period_size?
@ 2002-12-12 20:50 Guilhem Tardy
  2002-12-12 21:55 ` Jaroslav Kysela
  0 siblings, 1 reply; 3+ messages in thread
From: Guilhem Tardy @ 2002-12-12 20:50 UTC (permalink / raw)
  To: alsa-devel

Hi all,

I have come to realize that, whenever I drain() on a playback_handle to which a
number of sample non-multiple of the period_size has been written, my
application waits for several seconds to finally recover with an error EIO.

Is the driver supposed to play audio if less than period_size is present in the
buffer?

Is the application supposed to always add silence at the end to ensure that a
multiple of period_size has been written?

Thanks,
Guilhem.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/

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

end of thread, other threads:[~2002-12-12 22:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-12 20:50 playback in multiple period_size? Guilhem Tardy
2002-12-12 21:55 ` Jaroslav Kysela
2002-12-12 22:34   ` Guilhem Tardy

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.