From: Takashi Iwai Subject: Re: Sample format coversion bug? Date: Mon, 29 Oct 2007 10:05:16 +0100 Message-ID: References: <4721E932.5090603@ums.usu.ru> <4725BD78.6040709@ums.usu.ru> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 8907E24353 for ; Mon, 29 Oct 2007 12:08:21 +0100 (CET) In-Reply-To: <4725BD78.6040709@ums.usu.ru> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: "Alexander E. Patrakov" Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 29 Oct 2007 16:01:12 +0500, Alexander E. Patrakov wrote: > > Takashi Iwai wrote: > > Well, apparently something wrong with mmap, then. > > Do you mean "something is wrong with the kernel driver" or "plug really > expects mmap access to the card to be available"? The latter case. Does your driver support mmap? > > Does the device really support 24bit format? > > No, it doesn't - that's the whole point of the test. I expected "plug" > to guess that the device supports a 16-bit format, record 16-bit samples > from the hardware, multiply all recorded samples by 256, and return the > result as 32-bit words (so that the result is a set of valid S24_LE > samples, even though the least significant byte is always zero). Then yes, it should work like that. Takashi