Skip to contentSkip to conversation

What are the "plugins" in alsa-plugins useful for?

DISCUSSION Thomas Hood 2 participants 4 messages Mar 27, 2005 – Mar 29, 2005

lore
Share & tools
lore
#0 lore raw

What are the "plugins" in alsa-plugins actually useful for?

Signature · 9 lines
Thomas Hood <[email protected]>



-------------------------------------------------------
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
#1 lore raw

At Sun, 27 Mar 2005 10:23:37 +0200,

Quoted 2 lines · Thomas Hood

What are the "plugins" in alsa-plugins actually useful for?

I don't understand the question quite well...
Do you mean the purposes of plugins included in alsa-plugins package?

If yes: The jack plugin was formerly in alsa-lib. The oss plugin is the plugin to emulate ALSA API on OSS drivers.

READMEs are missing there...

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

#2 lore raw
Quoted 3 lines · Takashi Iwai

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

?

I assume so because jackd has its own plugin for sending output to ALSA (i.e., in the opposite direction).

Quoted 1 line

The oss plugin is the plugin to emulate ALSA API on OSS drivers.

I.e.,

application with ALSA output -> libasound -> OSS device

?

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

Signature · 9 lines
Thomas Hood <[email protected]>



-------------------------------------------------------
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
#3 lore raw

At Tue, 29 Mar 2005 17:25:11 +0200,

Quoted 7 lines · Thomas Hood
Quoted 3 lines · Takashi Iwai

Do you mean the purposes of plugins included in alsa-plugins package?

If yes: The jack plugin was formerly in alsa-lib.

Quoted 6 lines

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.

Quoted 4 lines

I assume so because jackd has its own plugin for sending output to ALSA (i.e., in the opposite direction).

Quoted 8 lines
Quoted 1 line

The oss plugin is the plugin to emulate ALSA API on OSS drivers.

I.e.,

application with ALSA output -> libasound -> OSS device

?

Yes, exactly.

Quoted 2 lines

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