All of lore.kernel.org
 help / color / mirror / Atom feed
* IEC958 / SPDIF raw capture
@ 2010-02-10 23:14 Donald Tournier
  2010-02-11  7:26 ` Clemens Ladisch
  2010-02-11  7:36 ` Jaroslav Kysela
  0 siblings, 2 replies; 5+ messages in thread
From: Donald Tournier @ 2010-02-10 23:14 UTC (permalink / raw)
  To: alsa-devel

Hi,

We have an application in our institute that will require recording of
a digital signal via an optical cable. We have to be able to guarantee
perfect bitwise reproduction of the signal (the odd bit error is not a
problem). We're thinking of using SPDIF and ALSA to capture the signal
(obviously we'll have to make sure the signal is properly encoded to
begin with).

However, after some initial attempts, it's becoming clear that ALSA
can't necessarily guarantee bitwise perfect capture. ALSA might change
the format, or resample the signal after capture (although I've heard
that can be turned off with "snd_pcm_hw_params_set_rate_resample
(capture_handle, hw_params, 0)"). Also, the card that we've been
playing with so far (SB Audigy2 ZS) apparently performs some low-pass
digital filtering on the input stream anyway, and is therefore no use
to us.

So my question is: can this be done? Is there a way of setting up ALSA
to produce an unaltered version of the SPDIF input stream? This will
undoubtedly require a particular combination of hardware and driver.
If so, which card/driver would be recommended? Ideally, we would like
to capture the raw SPDIF subframes. Is that possible, and if so, how?

Any help would be greatly appreciated!
Thanks,

Donald.


-- 
Jacques-Donald Tournier (PhD)
Brain Research Institute, Melbourne, Australia
Tel: +61 (0)3 9496 4078

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-12  7:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 23:14 IEC958 / SPDIF raw capture Donald Tournier
2010-02-11  7:26 ` Clemens Ladisch
2010-02-12  3:44   ` Donald Tournier
2010-02-12  7:03     ` Jaroslav Kysela
2010-02-11  7:36 ` Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.