Re: [Alsa-user] softvol + dmix
Brought to you by:
perex
|
From: Takashi I. <ti...@su...> - 2005-04-11 18:16:51
|
At Mon, 11 Apr 2005 18:42:48 +0200,
Elias Pschernig wrote:
>
> On Mon, 2005-04-11 at 16:12 +0200, Takashi Iwai wrote:
> > At Thu, 07 Apr 2005 02:51:16 +0200,
> > Elias Pschernig wrote:
> > >
> > > I'm trying to get both the softvol and dmix plugins, but I can't
> figure
> > > out from the docs and examples how to apply 2 plugins. This is what
> I
> > > have:
> > >
> > > pcm.mydev {
> > > type plug
> > > slave.pcm "softvol"
> > > slave.pcm "dmix"
> > > }
> >
> > Define the slaves in a cascade:
> >
> > pcm.mydev {
> > type plug
> > slave.pcm {
> > type softvol
> > slave.pcm "dmix"
> > }
> > }
>
> Thank you so much. I had read through both the "asoundrc" document on
> the alsa site, as well as the "plugin interface" description in the
> developers documentation, but couldn't figure this out.
>
> With the cascade idea, I even managed now to also add a "rate" plugin
> into the cascade to convert to 48 khz (else there was distortion).. and
> everything works perfectly now (well, as far as my need to have bmp
> running in the back while playing games with sound is concerned).
>
> Oh, btw, since I'm already here, something I was always wondering.. why
> did I need to write this fairly complicated .asoundrc to get things
> working? I mean, having sound in multiple applications, volume control,
> and no distortion, is what I'd expect to get without any extra
> tweaking..
dmix+softvol is already default in 1.0.9rc2 in many hardwares.
Takashi
|