Re: Alsa and Jackd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found the problem. The error was in the .asoundrc file. 

The line "0 pcm:playback_1" should have been "0 system:playback_1"


On 8 August 2011 16:15, Ian Leonard <ian@xxxxxxxxxxxxx> wrote:
Hi,

I am having trouble getting alsa and jackd to work on Fedora14. I have had this working on a much older version.

I have disabled pulseaudio by removing the rpm (I hope this is enough).

My .asoundrc file looks like this:

# use this as default
pcm.!default {
type plug
slave { pcm "jack" }
}

pcm.jack {
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
}
}

I run jackd and get this:

jackdmp 1.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2009 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 20
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xe0280000 irq 46
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
Using port names patch v0.1 (07.04.2010)


I then run aplay:

# aplay /tmp/test.wav
jack_client_new: deprecated
Playing WAVE '/tmp/test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
cannot connect alsa-jack.jackP.29854.0:out_000 to alsa_pcm:playback_1
aplay: pcm_write:1603: write error: Input/output error

while jackd gives:

Unknown destination port in attempted (dis)connection src_name [alsa-jack.jackP.29854.0:out_000] dst_name [alsa_pcm:playback_1]


Without jack, the wav file plays fine an alsamixer works. It looks like jackd doesn't know how to talk to alsa but it has read the .asoundrc file.
I have the following installed:

qjackctl-0.3.8-1.fc14.i686
jack-audio-connection-kit-1.9.5-1.fc14.i686
alsa-plugins-jack-1.0.22-1.fc13.i686
jack_capture-0.9.56-1.fc14.1.i686


Any help appreciated.

--
Ian



--
Ian
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux