Re: [LAD] zita-ajbridge and aloop

From: IOhannes m zmoelnig <zmoelnig@email-addr-hidden>
Date: Wed Jul 17 2013 - 18:21:12 EEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-07-15 13:46, IOhannes m zmoelnig wrote:
>> Did you use
>
>> hw:Loopback,1
>
> doh!
>
> this is basically the answer i was looking for. thanks a lot!
>
>>> what are the requirements for an application to use
>>> zita-ajbridge?

so now that it is basically running, i'm having troubles to make it
run on the target hardware.

when running zita-a2j resp. -j2a in verbose mode, i understand that
the 1st number (the "loop error") should be as close to zero as possible.
in practice they are varying wildly betweeen +16 and -10.
how bad is this?

more troubling however, is that whenever i start an alsa application
(e.g. alsa_delay), one or both zita-*2* applications complain with:

  Detected excessive timing errors, waiting 15 seconds.
  This may happen with current Jack1 after freewheeling.

(btw, i'm using robin's jackd2-1.9.10+nobus+20130114gite4730c6c-NMU1)
after 15 or so seconds the waiting application recovers, only to
hick-up again after some seconds (see end of email).
even while the

i'm running the programs as follows:
          jackd -dalsa -dhw:0,0 -r44100 -p1024 -n2
          zita-j2a -v -d hw:Loopback,0,1 -c2 -r44100 -Q16 -p2048 -n2
          zita-a2j -v -d hw:Loopback,0,0 -c2 -r44100 -Q16 -p2048 -n2
          alsa_delay hw:Loopback,1,0 hw:Loopback,1,1 44100 2048 2

uname -a shows:
  Linux WandBoard3 3.0.35-wand6.2 #1 SMP PREEMPT Wed Jul 17 10:21:20
CEST 2013 armv7l GNU/Linux

top doesn't show anything unusual:
20 0 4636 2344 2108 S 19.2 0.7 0:51.59 alsa_delay
20 0 86272 80m 79m S 9.1 24.9 0:12.38 zita-j2a
20 0 86272 80m 79m S 6.8 24.9 0:09.94 zita-a2j
20 0 92864 87m 80m S 2.9 27.0 0:05.00 jackd

finally: i'm wondering a bit on how to choose proper values for
period-size and fragement size.
that is: should zita-*a* period/nfrags match those of jack and/or
those of alsa_delay?

fgmasdr
IOhannes

typical output of zita-a2j;

  -9.554 1.000058
  -0.009 1.000039
 -10.560 1.000043
   9.244 1.000030
   0.138 0.999943
   3.434 0.999968
  21.940 0.999898
  16.323 0.999789
Detected excessive timing errors, waiting 15 seconds.
This may happen with current Jack1 after freewheeling.
Starting synchronisation.
  -8.978 1.002152
 -12.058 1.004386
  -8.960 1.006809
  14.445 1.000016
  -5.345 1.003726
   6.023 1.002011
   4.334 0.999910
  -7.868 1.003941
  13.211 0.998161
  -0.939 0.999894
 -10.023 1.003701
  11.972 0.998262
  -4.587 1.000754
  -0.417 1.001475
   7.652 0.997528
 -11.767 1.002691
  19.205 1.002144
Detected excessive timing errors, waiting 15 seconds.
This may happen with current Jack1 after freewheeling.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlHmtmEACgkQkX2Xpv6ydvR+GgCg4FGr63v9RqGI1sEuoEk1g8GR
4dAAn3AooFsJkt3rR1FP91r3RtXpeV7R
=+j4n
-----END PGP SIGNATURE-----
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Thu Jul 18 04:15:01 2013

This archive was generated by hypermail 2.1.8 : Thu Jul 18 2013 - 04:15:01 EEST