On Sat, 18 Oct 2003, Frank Barknecht wrote:
> Hallo,
> Jaroslav Kysela hat gesagt: // Jaroslav Kysela wrote:
>
> > It's becoming a FAQ:
> >
> > You must set period size and buffer size to power of two for the dmix
> > plugin, because OSS API does not allow other values.
>
> Could you give an example on how to set these two within a dmix setup?
> Somehow I don't yet understand how to do this inside asoundrc...
Here is a complex example:
pcm.dmix1 {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
#periods 128
rate 8000
}
bindings {
0 0
1 1
}
}
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
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