From: "Paul D. DeRocco" <pderocco@ix.netcom.com>
To: Alsa-devel <alsa-devel@alsa-project.org>
Subject: Staying synced after underrun
Date: Tue, 15 May 2012 00:45:54 -0700 [thread overview]
Message-ID: <D567972935594567ADE30994399E117C@PAULD> (raw)
I'm writing 48KHz stereo to Intel HD audio on my mobo, and I'd like to send
it in parallel to both the analog and S/PDIF outputs, which share a clock
source. If I open both devices, configure them with the same buffer space,
and write the same data with snd_pcm_writei, how should I handle an
underrun? Call snd_pcm_prepare on both device handles? If so, and the first
device underruns, should I bother writing the buffer to the second device?
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco@ix.netcom.com
next reply other threads:[~2012-05-15 7:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 7:45 Paul D. DeRocco [this message]
2012-05-15 8:46 ` Staying synced after underrun Clemens Ladisch
2012-05-15 8:49 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D567972935594567ADE30994399E117C@PAULD \
--to=pderocco@ix.netcom.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.