Skip to contentSkip to conversation

: 'Sample format non available' when using jack-plugin

ALSA - plugins 0001257 [email protected] 1 participant 1 message Jul 19, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1257>
======================================================================
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-19-2005 18:26 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

======================================================================

----------------------------------------------------------------------
Robert_Schulze - 07-19-05 17:21
----------------------------------------------------------------------
Yes that does indeed. But I'm unable to kill the task (arecord) with ctrl+c, only a killall -KILL arecord works...

The format of the ALSA <-> JACK PCM I/O PLugin is FLOAT_LE. Do I have to convert to INT in my .asoundrc?

----------------------------------------------------------------------
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?

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
======================================================================

-------------------------------------------------------
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