All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: ALSA 'share' device, or 'software multi-open'
@ 2002-09-30 13:08 Patrick Shirkey
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Shirkey @ 2002-09-30 13:08 UTC (permalink / raw)
  Cc: Pete Black, alsa-devel

[ please forward to alsa-devel for me. thanks. ]

 >IIUC the share plugin is not even intended to do what you want (as you
 >mention above) it is written to share audio between different devices
 >specified in the asoundrc file. Not to mix multiple streams from
 >multiple apps. Paul you should stop suggesting the share plugin as an
 >almost possible option. It is a red herring.

sorry, its a mis-identification rather than anything else. the plugin
i am trying to refer to exists, but as usual with ALSA, its not
documented and so even i don't know its name :) but yes, "mix" or
"smix" is the right one, not "share".

--p





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <20020930123444.5C7846875@claudia.daemon.sh>]
[parent not found: <20020930020414.90EFD6876@claudia.daemon.sh>]
* ALSA 'share' device, or 'software multi-open'
@ 2002-09-30  0:46 Pete Black
  0 siblings, 0 replies; 5+ messages in thread
From: Pete Black @ 2002-09-30  0:46 UTC (permalink / raw)
  To: alsa-devel

Hi there,

I am interested in knowing what ALSA's current support is for a 
'software multi-open' driver/plugin, that can take the output of several 
streams, mix them together in realtime and play them out to the soundcard.

 From browing the list archives, I come across several references to a 
'share' plugin, but also several references to the fact that the author 
of the plugin is the only one who has ever actually used it.

I am aware of esd/arts/JACK etc., but none of these projects do what I 
would like to have - a simple, lowish-latency, application-transparent 
method of sharing a sound card.

I have also seen posts on the same alsa-devel mailing list to the effect 
that mixing several audio streams in software is easy, and an 
application-level problem hence the lack of implementation in ALSA 
itself. I think that idea is ludicrous, and this type of sharing is 
absolutely necessary, especially when using Linux to make music with the 
variety of software synths that are now available.

Specifically, I have a CMI8738 card, and I want to be able to run seq24 
(MIDI sequencer),and a couple of separate software synths at the same time.

I understand that drivers such as the SBLive and trident support 
multi-open, passing the streams to the hardware for mixing, but why does 
there seem to be no way to do the same thing with software?

ESD doesn't seem to put any appreciable load on the system, and network 
transparency is not really a requirement, at least for me.

Does ALSAs architecture make doing this in software at the driver/plugin 
level difficult, or is it just that nobody wants this capability?

And, should it be that this functionality is simply not implemented, 
what would be the best way to approach building in this capability - the 
plugin API, an extended, card-specific driver, or what?

Thanks

-Pete







-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2002-09-30 22:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-30 13:08 ALSA 'share' device, or 'software multi-open' Patrick Shirkey
     [not found] <20020930123444.5C7846875@claudia.daemon.sh>
2002-09-30 22:11 ` Pete Black
     [not found] <20020930020414.90EFD6876@claudia.daemon.sh>
2002-09-30  3:54 ` Pete Black
2002-09-30  4:43   ` Patrick Shirkey
  -- strict thread matches above, loose matches on Subject: below --
2002-09-30  0:46 Pete Black

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.