Re: [LAU] ALSA_OUT hack

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Wednesday, November 10, 2010 - 6:16 pm

--nextPart5000344.NORfH9Tlxe
Content-Type: Text/Plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

On Wednesday 10 November 2010 08:43:09 Ken Restivo wrote:

I
eo

The point of libsamplerate is exactly for word-clocks that are not in sync.
While both soundcards might say they run at 48 kHz, the master (which is=20
clocking jack) is running at 47990 Hz while the slave runs at 48010 Hz, tha=
t=20
is 20 Hz difference. Which means the slave needs the next block of audio 0.=
4 ms=20
before the master, otherwise it will produce silence for 0.4 ms. Such a sma=
ll=20
silence every second, actually several smaller clicks of silence each secon=
d,=20
will be very audible as clicks in the slaves output.
The only way you can skip libsamplerate is when both really run from the sa=
me=20
word-clock but then the only reason to use alsa_[in|out] would be when the=
=20
first device is a firewire/network/macosx device and you want to use the sa=
mple-
synced alsa device too...

Have fun,

Arnold

--nextPart5000344.NORfH9Tlxe
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkza4X8ACgkQuYLL1cDjHx3DvgCeJz7c2wor+FemTjYKscvTFdIe
56AAmgJPjwl3XZJyDwL0njhR/CxFXnX5
=6qnJ
-----END PGP SIGNATURE-----

--nextPart5000344.NORfH9Tlxe--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] ALSA_OUT hack, Ken Restivo, (Wed Nov 10, 7:43 am)
Re: [LAU] ALSA_OUT hack, Arnold Krille, (Wed Nov 10, 6:16 pm)
Re: [LAU] ALSA_OUT hack, torbenh, (Wed Nov 10, 10:08 am)
Re: [LAU] ALSA_OUT hack, drew Roberts, (Wed Nov 10, 3:00 pm)
Re: [LAU] ALSA_OUT hack, Paul Davis, (Wed Nov 10, 3:09 pm)