From: bugtrack@alsa-project.org Subject: [ALSA - plugins 0001257]: 'Sample format non available' when using jack-plugin Date: Wed, 20 Jul 2005 17:48:46 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 74C5C1CC for ; Wed, 20 Jul 2005 17:48:46 +0200 (MEST) 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: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: Robert_Schulze Assigned To: ====================================================================== Project: ALSA - plugins Issue ID: 1257 Category: PCM - jack Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 07-14-2005 17:50 CEST Last Modified: 07-20-2005 17:48 CEST ====================================================================== Summary: 'Sample format non available' when using jack-plugin Description: 1. Start Jackd: /usr/local/jack/bin/jackd -vd alsa -d emi -S 2. Start arecord: arecord -D "emijack12" -t wav -f S16_LE -c 2 -r 48000 > test.wav gives: "arecord: set_params:882: Sample format non available" arecord -D "emijack12" > test.wav gives the same. my .asoundr: pcm.emijack12 { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 } capture_ports { 0 alsa_pcm:capture_1 1 alsa_pcm:capture_2 } } ctl.emi { type hw card 1 } pcm.emi { type hw card 1 } emi is a Emagic a62m USB-Audiointerface ====================================================================== ---------------------------------------------------------------------- Clemens Ladisch - 07-19-05 18:26 ---------------------------------------------------------------------- Jack uses float samples internally, so it's the only sample format supported by the Jack plugin. You have to convert it with a plugin like lfloat or plug. I don't know why arecord hangs. Does it work without -vv? ---------------------------------------------------------------------- Robert_Schulze - 07-20-05 17:48 ---------------------------------------------------------------------- It hangs even wihtout -vv. I started jack verbosely and noticed a failure in disconnection of the ports. If I start arecord, jackd logs: " connect alsa_pcm:capture_1 and alsaC.3308.0:in_000 ... connect alsa_pcm:capture_2 and alsaC.3308.0:in_001 " If I quit arecord via ctrl+c, jackd logs: " DIS-connect alsa_pcm:capture_2 and alsaC.3308.0:in_001 " So it just disconnects the last given port-pair. When I kill arecord with SIGKILL, jack logs: " cannot read event responce from client [alsaC.3308.0] (Connection reset by peer) bad status for client event handling (type=4) DIS-connect alsa_pcm:capture_1 and alsaC.3308.0:in_000 cannot send event to client [alsaC.3308.0] (Broken pipe) bad status for client event handling (type=4) ... cannot write request result to client could not handle external client request " Issue History Date Modified Username Field Change ====================================================================== 07-14-05 17:50 Robert_Schulze New Issue 07-14-05 18:03 Clemens LadischNote Added: 0005477 07-19-05 17:21 Robert_Schulze Note Added: 0005528 07-19-05 18:26 Clemens LadischNote Added: 0005530 07-20-05 17:48 Robert_Schulze Note Added: 0005533 ====================================================================== ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click