capture buffers on SBLIVE...
hello * !
i'm tracking down a nasty problem i have with jack. is there any way to increase the periods-per-hardware-buffer setting on an sblive for capture ? jackd refuses to do that, and i wonder whether it's a hardware limitation.
kleineronkel:~ # jackd -R -d alsa -d hw:0 -n 4 -p 2048 jackd 0.37.1
alsa PCM driver args:
-d alsa-pcm-name (default: default)
-r sample-rate (default: 48kHz)
-p frames-per-period (default: 1024)
-n periods-per-hardware-buffer (default: 2)
-H (use hardware monitoring if available, default: no) -D (duplex, default: yes)
-C (capture, default: duplex)
-P (playback, default: duplex)
-z[r|t|s|-] (dither, rect|tri|shaped|off, default: off)
Copyright 2001-2002 Paul Davis and others.
jackd 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
creating alsa driver ... hw:0|2048|4|48000|swmon
ALSA: cannot set number of periods to 4 for capture
ALSA: cannot configure capture channel cannot load driver module alsa
jack main caught signal 15
best,
jörn
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
Quoted 4 lines · Joern Nettingsmeier
i'm tracking down a nasty problem i have with jack. is there any way to increase the periods-per-hardware-buffer setting on an sblive for capture ? jackd refuses to do that, and i wonder whether it's a hardware limitation.
I had similar problem with cs4281 driver. I had to port forward an old patch for 0.5.12 driver to increase this.
The problem is that if the hardware supports just "buffer full" and "half full" than it is easiest to implement just 2 periods. Getting more requires more intelligent interrupt handler.
Look into the source code for your driver. May be you will find a place where this limit is enforced.
Best regards,
--
Tomasz Motylewski
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
Quoted 4 lines
i'm tracking down a nasty problem i have with jack. is there any way to increase the periods-per-hardware-buffer setting on an sblive for capture ? jackd refuses to do that, and i wonder whether it's a hardware limitation.
Has to be, apparently the playback and record channels of the sblive are not symetric. For recording you can only use two periods and that's it (but for playback you can use more). I assume the alsa driver reflects the underlying hardware as usual.
-- Fernando
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
Quoted 10 lines · Fernando Pablo Lopez-Lezcano
Quoted 5 lines
i'm tracking down a nasty problem i have with jack. is there any way to increase the periods-per-hardware-buffer setting on an sblive for capture ? jackd refuses to do that, and i wonder whether it's a hardware limitation.
Has to be, apparently the playback and record channels of the sblive are not symetric. For recording you can only use two periods and that's it (but for playback you can use more). I assume the alsa driver reflects the underlying hardware as usual.
ok. i need to know this just for comparison. if i can be sure that no application can get more than 2 periods on capture, i can compare jack and non-jack apps under equal circumstances...
thanks,
jörn
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf