All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: alsa-devel@alsa-project.org
Subject: Re: How to apply rate conversion in asound.conf
Date: Tue, 12 Nov 2013 11:00:41 +0100	[thread overview]
Message-ID: <5281FC49.7080107@ladisch.de> (raw)
In-Reply-To: <DUB122-W40354113C10D5F94B582F2AAF20@phx.gbl>

Dolevo Jay wrote:
> how can I call a plugin inside of another plugin?

The slave PCM name is the name of some pcm.xxx device.

> What I need to do now is to have a aosund.conf which has dmix into multi plugins together.

pcm.!default {
	type plug
	slave.pcm multi
}

pcm.multi {
	type multi
	slaves {
		a { pcm "hw:0,1" channels 2 }
		b { pcm "dmixer" channels 2 }
	}
	bindings [
		{ slave a channel 0 }
		{ slave a channel 1 }
		{ slave b channel 0 }
		{ slave b channel 1 }
	]
}

pcm.dmixer {
	type dmix
	...
}

But you need another dmix device for hw:0,1.


Regards,
Clemens

      parent reply	other threads:[~2013-11-12 10:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 15:02 How to apply rate conversion in asound.conf Dolevo Jay
2013-11-06 16:30 ` Clemens Ladisch
     [not found]   ` <DUB122-W390A38324ACF50DA28405BAAF20@phx.gbl>
2013-11-08 14:15     ` Dolevo Jay
2013-11-12  9:02       ` Dolevo Jay
2013-11-12 10:00       ` Clemens Ladisch [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=5281FC49.7080107@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    /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.