On Mon, 20 Oct 2003 11:26:55 +0200
Frank Barknecht <[EMAIL PROTECTED]> wrote:

> Hallo,
> Myk hat gesagt: // Myk wrote:
> 
> > On Sun, 19 Oct 2003 11:25:43 +0200
> > Here's some results - I've been fiddling with this a lot as well!
> > This is all with an Audiophile 2496 too.
> > 
> > pcm.dsp0 {
> >   type plug
> >   slave.pcm "dmix"
> > }
> > 
> > aplay -D dsp0 foo.wav &
> 
> This is in fact the same as saying: "aplay -D plug:dmix", so it better
> should work, or else... ;)

Yeah - this was for aoss purposes.
 
> > does what it should. The more complex method you give achieves the
> > same result - the advantage I suppose is that you can set period
> > size (It seems you can only set this for "hw:" pcms). 
> 
> What settings do you use in the complex method on you Audiophile?

pcm.hwmix {
  type dmix
  ipc_key 10000
  ipc_key_add_uid false
  slave {
    pcm "hw:0,0"
    period_size 1024
    periods 8
  }
}

pcm.dsp0 {
  type plug
  slave.pcm "hwmix"
}

Which is the same as "plug:dmix" but with an 8kb buffer. I think! 

I've tried various combinations of period_size, periods and buffer_size
(=period_size * periods?) - I haven't got it to fail yet.
alsaplayer/aplay don't complain even if I set ridiculous values, such as
period_size 1048576!

- 
Myk


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to