From: Takashi Iwai Subject: Re: Couple of questions Date: Thu, 16 Mar 2006 11:42:06 +0100 Message-ID: References: <1142467271.9298.7.camel@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id E4CDE178 for ; Thu, 16 Mar 2006 11:42:16 +0100 (MET) In-Reply-To: <1142467271.9298.7.camel@localhost.localdomain> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Adrian McMenamin Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 16 Mar 2006 00:01:11 +0000, Adrian McMenamin wrote: > > If my driver declares this: > > .info = (SNDRV_PCM_INFO_NONINTERLEAVED), > > Can I expect samples to come in all left followed by all right, or how? Yes. It's the non-interleaved format (LLLLLLLL....RRRRRR.....). > And will cat somefile.wav > /dev/dsp using oss emulation respect that? Yes. > And what default frequency can I expect cat to use in the above? ALSA has no default frequency. OSS assumes 8kHz for /dev/audio. /dev/dsp has no default, IIRC, but practically 44.1kHz. So "cat some > /dev/dsp" is not a good way for testing at all... It's usable for checking that "something" works at least, but not for checking the detailed functionality. Takashi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642