From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Conversion from S16 format to ALAW Date: Tue, 16 Nov 2004 12:54:46 +0100 Message-ID: References: <4199B349.4080404@ma.tech.ascom.ch> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <4199B349.4080404@ma.tech.ascom.ch> 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: Manu Sharma Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 16 Nov 2004 08:59:05 +0100, Manu Sharma wrote: > > Hi all, > > I am trying to sample and play alaw streams on my iPAQ 5500. The HW > driver registers support for S16_LE only. So, to achieve my purpose, I > register a plugin like following in my alsa.conf file: > > pcm.alaw { > type alaw > slave { > pcm "hw:0.0" Typo of "0,0"? > format S16_LE > } > } > > With this, when I use arecord to capture sound, I get an error "arecord: > set_params:832: Sample format not available". > > Is there something wrong in my configuration setup or am I missing > something ? Any clues or suggestions would be appreciated. I didn't get the error message. % arecord -Dalaw -traw -fA_LAW -c2 -r44100 foo.raw Takashi ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8