Re: [Jack-Devel] issue with capturing

PrevNext  Index
DateMon, 01 Sep 2014 13:56:35 +0200
From Stéphane LETZ <[hidden] at grame dot fr>
ToPieter De Gendt <[hidden] at gmail dot com>
Cc[hidden] at lists dot jackaudio dot org
In-Reply-ToPieter De Gendt [Jack-Devel] issue with capturing
Show us the code.

Stéphane

Le 1 sept. 2014 à 13:52, Pieter De Gendt <[hidden]> a écrit :

> Hi all,
> 
> I am developing a driver for a TI audio chip and have got the playback part working, but when I enable capturing ports I am unable to create clients. Some output:
> 
> Playback only:
> # jackd -d alsa -d hw:0 -P &
> # jackdmp 1.9.10
> Copyright 2001-2005 Paul Davis and others.
> Copyright 2004-2014 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
> JACK server starting in realtime mode with priority 10
> self-connect-mode is "Don't restrict self connect requests"
> creating alsa driver ... hw:0|-|1024|2|48000|0|0|nomon|swmeter|-|32bit
> configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
> ALSA: final selected sample format for playback: 32bit integer little-endian
> ALSA: use 2 periods for playback
> 
> # jack_lsp
> system:playback_1
> system:playback_2
> 
> ======
> 
> Both capturing and playback:
> # jackd -d alsa -d hw:0 &
> # jackdmp 1.9.10
> Copyright 2001-2005 Paul Davis and others.
> Copyright 2004-2014 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
> JACK server starting in realtime mode with priority 10
> self-connect-mode is "Don't restrict self connect requests"
> creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
> 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
> 
> # jack_lsp
> JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
> Driver is not running
> Cannot create new client
> Cannot open lsp client
> Cannot read socket fd = 5 err = Success
> CheckRes error
> JackSocketClientChannel read fail
> jack_client_open() failed, status = 0x21
> CheckSize error size = 32 Size() = 12
> CheckRead error
> CheckSize error size = -1 Size() = 4
> CheckRead error
> CheckSize error size = 0 Size() = 12
> CheckRead error
> 
> Any ideas why the lock can't be acquired? Jack is always capturing, how to get clients to work with the captured data?
> 
> Thanks in advance,
> With kind regards,
> 
> Pieter
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
PrevNext  Index

1409572606.1158_0.ltw:2, <7A6995CF-299C-4715-B1F4-8959AC6F66C9 at grame dot fr>