From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: MIDI+USB - one way? Date: Mon, 05 Aug 2002 14:54:25 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <3D4E7581.C3EDCB44@ladisch.de> References: <3D4E3AB0.563AB976@ladisch.de> <3D4E5613.96D45644@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Return-path: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Takashi Iwai Cc: Jaroslav Kysela , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Takashi Iwai wrote: > Clemens Ladisch wrote: > > > (and i believe that no applications suffer by this change.) > > > > Yes, because applications expect the OSS behaviour. > > > > I didn't really look at the OSS PCM read() implementation, but the > > sequencer read() already implements the correct POSIX behaviour. > > i don't think that the oss pcm interface ever suffices the definition > of posix above. but we cannot change it since most of applications > assume that the read aligned in a block size. Sorry, I didn't mention that I do _not_ intend to change the PCM code. It's fine as it is. > in the case of alsa, this low-level behavior can be changed, because > the difference can be absorbed inside the alsa-lib. Both the OSS and native ALSA code finally use snd_pcm_lib_read() as far as I see, so it could not be changed independently. (but I didn't look deeply into this) And there's already sleep_min or something like that, so we are beyond POSIX anyway. > but i see no good reason to change this now. Neither do I. Clemens ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf