From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Charbonnel Subject: Re: hdsp vs 16bit vs dmix Date: Mon, 26 Jan 2004 15:10:51 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <40151FEB.6040409@undata.org> References: <3FFC41E9.3050501@boosthardware.com> <40150EB7.8070907@undata.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Jaroslav Kysela Cc: Takashi Iwai , Patrick Shirkey , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Jaroslav Kysela wrote : > On Mon, 26 Jan 2004, Thomas Charbonnel wrote: > > >>Now if you do specify 'channels 18' in the dmix slave definition, the >>error is as follows : >>aplay: set_params:827: Sample format non available >>I have 'format S32_LE' set in the dmix slave definition, but it doesn't >>seem to be taken into account. > > > It should be. Did you used 'aplay -D plug:your_dmix'? > > Jaroslav > You're right, I only used '-D my_dmix'. Using '-D plug:my_dmix' works properly, so I guess the problem is solved, thanks ! For the record here's the working .asoundrc section : pcm.hdsp_dmix { type dmix ipc_key 1024 slave { pcm { type hw card 2 } rate 44100 format S32_LE channels 18 } } Of course people will have to tweak the card and channels number to match their setup. Thomas ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn