* dmix and full-duplex
@ 2003-12-17 20:11 David Lloyd
2003-12-17 20:55 ` Peter Kirk
2003-12-17 22:42 ` Frank Barknecht
0 siblings, 2 replies; 4+ messages in thread
From: David Lloyd @ 2003-12-17 20:11 UTC (permalink / raw)
To: alsa-devel
After much frustration being stuck on intel8x0 and trying to run teamspeak
at the same time as a game, I was looking at the dmix implementation and I
had several questions.
What I want to do is modify dmix to do one of these things, in order of
increasing desirability:
1) When capture stream is opened, let the open succeed, and all audio read
from the capture stream is 0 (like the null plugin I guess).
2) Allow one client to open capture stream and just pipe data from the
slave to the client (no multiplexing of any kind).
3) Combine dmix and dsnoop into a full-duplex sharing plugin. This seems
like the ideal setup to me.
The current implementation seems to me to handle capture stream in the
worst possible way. When I open TeamSpeak and a game with sound with
dmix, TeamSpeak wont even open the sound device for playback because
capture returns an error.
The thing is, dmix seems to have been around for years and nobody has
addressed the shared full duplex issue, although it is talked about from
time to time.
So I will make a deal... if you all give me support and help with my
questions, I'll tackle the problem myself, probably in the order I've
liested above. :)
Otherwise, if you all think this is not a worthwhile avenue to pursue, I
will try to convince my wife to let me buy a sblive and call it a day. :)
- D
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dmix and full-duplex
2003-12-17 20:11 dmix and full-duplex David Lloyd
@ 2003-12-17 20:55 ` Peter Kirk
2003-12-17 21:18 ` David Lloyd
2003-12-17 22:42 ` Frank Barknecht
1 sibling, 1 reply; 4+ messages in thread
From: Peter Kirk @ 2003-12-17 20:55 UTC (permalink / raw)
To: Alsa-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 17. Dezember 2003 21:11 schrieb David Lloyd:
> After much frustration being stuck on intel8x0 and trying to run teamspeak
> at the same time as a game, I was looking at the dmix implementation and I
> had several questions.
> So I will make a deal... if you all give me support and help with my
> questions, I'll tackle the problem myself, probably in the order I've
> liested above. :)
>
> Otherwise, if you all think this is not a worthwhile avenue to pursue, I
> will try to convince my wife to let me buy a sblive and call it a day. :)
Well,
its a very worth while avenue - in my personal and biased opinion (as being
heavily involved with teamspeak and its linux problems). You might want to
read the lengthy thread I created by asking for smart dmix and dsnooping -
Title is "smart and automatic use of dmix and dsnoop - feature suggestion."
Good luck
Peter
- --
"The only way I can lose this election is if I'm caught in bed with a dead
girl or a live boy."
- -- Louisiana governor Edwin Edwards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/4MLag2ieGvTmHiURAspCAJ4vRCY1RXlZaLilWvw+UHpEG2cfPwCgkyep
ZKmc7VQ2/IaKrLdf0tmRa3w=
=kqMq
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dmix and full-duplex
2003-12-17 20:55 ` Peter Kirk
@ 2003-12-17 21:18 ` David Lloyd
0 siblings, 0 replies; 4+ messages in thread
From: David Lloyd @ 2003-12-17 21:18 UTC (permalink / raw)
To: Peter Kirk; +Cc: Alsa-devel
On Wed, 17 Dec 2003, Peter Kirk wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am Mittwoch, 17. Dezember 2003 21:11 schrieb David Lloyd:
> > Otherwise, if you all think this is not a worthwhile avenue to pursue, I
> > will try to convince my wife to let me buy a sblive and call it a day. :)
>
> its a very worth while avenue - in my personal and biased opinion (as
> being heavily involved with teamspeak and its linux problems). You might
> want to read the lengthy thread I created by asking for smart dmix and
> dsnooping - Title is "smart and automatic use of dmix and dsnoop -
> feature suggestion."
I read the thread, it was very informative. Actually that thread was
pretty much my initial reference for learing how dmix works. :) But it
didn't directly address the full-duplex software issue, mostly it talked
about using cards with hardware mixing. I'm hoping to address the issue
directly, and beat it to a bloody conclusion in time for a clan match!
Now *that* is coding under pressure :)
- D
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dmix and full-duplex
2003-12-17 20:11 dmix and full-duplex David Lloyd
2003-12-17 20:55 ` Peter Kirk
@ 2003-12-17 22:42 ` Frank Barknecht
1 sibling, 0 replies; 4+ messages in thread
From: Frank Barknecht @ 2003-12-17 22:42 UTC (permalink / raw)
To: alsa-devel
Hallo,
David Lloyd hat gesagt: // David Lloyd wrote:
> The thing is, dmix seems to have been around for years
dmix is not around for years. It came to live more or less this year,
and was only fully functional for some cards with version 0.9.7 or .8.
Another thing is, that while dmix works very well with correctly
written ALSA applications, OSS applications still aren't fully
supported (some maybe never will, all require hacks).
Nevertheless dmix is rather well explored now, but dsnoop would profit
a lot from a page like that: http://alsa.opensrc.org/?DmixPlugin
So it would be wonderful if you could find more real-world experiences
about dsnoop and then would document it for others to use, too.
(I can't speak for Teamspeak, I don't know it, I play on my GBA.)
ciao
--
Frank Barknecht _ ______footils.org__
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-17 22:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-17 20:11 dmix and full-duplex David Lloyd
2003-12-17 20:55 ` Peter Kirk
2003-12-17 21:18 ` David Lloyd
2003-12-17 22:42 ` Frank Barknecht
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.