From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guilhem Tardy Subject: playback in multiple period_size? Date: Thu, 12 Dec 2002 12:50:53 -0800 (PST) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20021212205053.3929.qmail@web11507.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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/