All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Thomas Hood <jdthood@yahoo.co.uk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: What are the "plugins" in alsa-plugins useful for?
Date: Tue, 29 Mar 2005 16:51:52 +0200	[thread overview]
Message-ID: <s5hhdiuijxz.wl@alsa2.suse.de> (raw)
In-Reply-To: <1112109911.26812.27.camel@thanatos>

At Tue, 29 Mar 2005 17:25:11 +0200,
Thomas Hood wrote:
> 
> On Tue, 2005-03-29 at 16:31 +0200, Takashi Iwai wrote:
> > Do you mean the purposes of plugins included in alsa-plugins package?
> > 
> > If yes:  The jack plugin was formerly in alsa-lib.
> 
> 
> Yes, but what does this plugin do?  Does it allow jackd to be used as if
> it were a device?  I.e.,
> 
>    application with ALSA output -> libasound -> jack
> 
> ?

Yes.  And vice versa for capture.


> I assume so because jackd has its own plugin for sending output to ALSA
> (i.e., in the opposite direction).
> 
> 
> > The oss plugin is the plugin to emulate ALSA API on OSS drivers.
> 
> 
> I.e.,
> 
>    application with ALSA output -> libasound -> OSS device
> 
> ?

Yes, exactly.

> Second, how does one use these plugins?  Can you provide an
> example .asoundrc file?

Specify "jack" or "oss" pcm type after installing these plugins.
For example,

pcm.jack {
	type jack
	playback_ports {
		0 alsa_pcm:playback_1
		1 alsa_pcm:playback_1
	}
}

pcm.oss {
	type oss
	device /dev/dsp
}


Then use like

	% aplay -Dplug:jack foo.wav


Takashi


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

      reply	other threads:[~2005-03-29 14:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-27  8:23 What are the "plugins" in alsa-plugins useful for? Thomas Hood
2005-03-29 14:31 ` Takashi Iwai
2005-03-29 15:25   ` Thomas Hood
2005-03-29 14:51     ` Takashi Iwai [this message]

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=s5hhdiuijxz.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=jdthood@yahoo.co.uk \
    /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.