From: David Stuart <dave@sipquest.com>
To: "David E. Storey" <dave@tamos.net>
Cc: alsa <alsa-devel@lists.sourceforge.net>
Subject: Re: Quick question
Date: 03 Jun 2003 09:53:13 -0400 [thread overview]
Message-ID: <1054648393.20856.29.camel@dave.sipquest.com> (raw)
In-Reply-To: <1054646707.539.20.camel@localhost>
Ah! I do exist! :)
Perhaps a better description of what I'm trying to do is in order. I
don't know if anyone here is familiar with JMF (java media framework),
but I would like to create an ALSA capture plugin on Linux very similar
to the "direct sound" one that's available on the Windows platform.
When I said that I would like to capture and then playback on TWO
devices, in reality they will probably be always the SAME device (in
full duplex mode). Hopefully that makes the problem easier. This small
test program was my way of getting started.
I realize that JACK is probably the wave of the future in this respect,
but I was thinking of using ALSA because:
1) It's relatively easy to install (from rpms anyway)
2) One does not have to tinker too much with a default RedHat (our
"tested" distro) installation to use ALSA.
3) It has good full-duplex support, as opposed to the default OSS setup.
4) JACK is the future, but not yet the present (seems to me)
Although I admittedly haven't tried JACK yet, I was suspecting that
using ALSA directly would require our customers to do less customization
of their default RedHat installation than installing ALSA + JACK. I need
to keep the procedure simple because we will have to support them.
On Tue, 2003-06-03 at 09:25, David E. Storey wrote:
> Having said that, your question involved using TWO devices, which I
> believe jack doesn't really support unless you're "bonding" them a la
> your .asoundrc file. (and even then, you'd really want to syncronize
> their clocks which most, if not all, consumer products don't support.)
> Assuming you don't care about clock synchronization, you could follow
> the examples at <http://www.suse.de/~mana/alsa090_howto.html>. Just open
> up one device for capture and the other for playback. When you receive
> data from one, pass it to the other.
Hmm .. I did find this HOWTO once before (and a few others), and tried
to follow them, but I must be doing something wrong because I can't get
more than a few pops out of my playback device. I was hoping that
someone could either tell me what I was doing wrong in my program, or
provide a small working example that I could use to learn from..
--
David Stuart, SIPQuest
phone: 254-8886 x234 web: http://www.sipquest.com/
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
next prev parent reply other threads:[~2003-06-03 13:53 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 20:01 Quick question David Stuart
2003-06-03 13:05 ` David Stuart
2003-06-03 12:51 ` Patrick Shirkey
2003-06-03 13:18 ` Paul Davis
2003-06-03 13:25 ` David E. Storey
2003-06-03 13:53 ` David Stuart [this message]
2003-06-03 14:15 ` Mark Knecht
-- strict thread matches above, loose matches on Subject: below --
2015-11-05 10:34 Quick Question Eliza via Containers
2015-08-29 5:56 Larry
2015-08-29 5:13 Larry North
2015-08-29 4:44 Larry North
2015-07-15 8:50 Zach
2012-03-01 19:00 Max Lucchetti
2012-03-01 19:35 ` Junio C Hamano
2012-03-01 19:45 ` Max Lucchetti
2010-08-09 1:57 quick question Evert Vorster
2010-08-09 2:13 ` C Anthony Risinger
2008-05-27 17:38 Quick question Ioannis Aslanidis
2008-05-27 17:56 ` Stephen Smalley
2008-05-27 18:08 ` Ioannis Aslanidis
2008-05-27 18:26 ` Stephen Smalley
2008-05-27 19:12 ` Ioannis Aslanidis
2008-05-27 19:47 ` Stephen Smalley
2006-02-13 16:36 Radoslaw Szkodzinski
2006-02-13 16:54 ` Linus Torvalds
2006-02-13 18:26 ` Radoslaw Szkodzinski
2006-02-13 20:17 ` Alex Riesen
2006-02-14 7:52 ` Junio C Hamano
2006-02-14 0:40 ` Junio C Hamano
2006-02-14 1:50 ` Radoslaw Szkodzinski
2006-02-14 2:03 ` Junio C Hamano
2006-02-14 2:21 ` Radoslaw Szkodzinski
2004-07-11 1:29 vlobanov
2004-07-11 2:09 ` John Richard Moser
2004-02-24 3:14 Anand Eswaran
2004-02-24 4:24 ` Dave Hansen
2003-07-25 19:08 quick question tim fitz
2003-07-26 7:12 ` Yury Umanets
2003-06-26 11:00 Stephen Brown
2003-06-26 11:06 ` David Woodhouse
2003-06-26 12:26 ` Stephen Brown
[not found] ` <005301c33bda$9e5621a0$11c8a8c0@stevejunior>
2003-06-26 12:34 ` David Woodhouse
[not found] <200306031312.h53DCVFs026163@in1.magma.ca>
2003-06-03 17:58 ` Quick question David Stuart
2003-06-04 0:38 ` Paul Davis
2003-06-04 0:18 ` Jan Depner
2003-06-04 1:01 ` jfm3
2003-06-04 3:37 ` David Stuart
2003-06-04 13:14 ` Paul Davis
2002-06-19 17:01 Adam K Kirchhoff
2002-06-20 7:44 ` Takashi Iwai
2002-05-30 20:17 Quick Question Mike Atlas
2002-05-30 20:31 ` Antony Stone
2002-05-30 20:54 ` Ramin Alidousti
2002-05-30 21:03 ` Antony Stone
2002-05-30 21:50 ` Joe Patterson
2002-05-30 22:11 ` Mike Atlas
2002-05-30 20:10 Mike Atlas
2002-06-13 17:37 ` Aldo S. Lagana
2001-10-19 15:55 rclarke2
2001-10-19 12:36 Quick question Gareth Williams
2001-10-19 12:22 ` David Woodhouse
2001-01-31 2:51 Quick Question Josh Kindler
2001-01-31 18:13 ` Michel Dänzer
1999-03-23 4:26 B
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=1054648393.20856.29.camel@dave.sipquest.com \
--to=dave@sipquest.com \
--cc=alsa-devel@lists.sourceforge.net \
--cc=dave@tamos.net \
/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.