On Wed, 10 Dec 2003, Patrick Shirkey wrote:

> I'm using older alsa drivers so maybe this is fixed already.
> 
> Advanced Linux Sound Architecture Driver Version 0.9.3c.
> Compiled on May 25 2003 for kernel 2.4.19 with versioned symbols.
> 
> I can sucessfully run two instances of arecord with the dsnoop plugin 
> but I get an error with my intel8x0 that doesn't occur while using my 
> cmipci:
> 
> arecord: set_params:847: Can't use period equal to buffer size (7526 == 
> 7526)
> 
> The number above is directly related to the buffer_size option below. 
> 7526 corresponds to buffer size of 8192. If I use a lower size like 4096 
> it is:
> 
> arecord: set_params:847: Can't use period equal to buffer size (3763 == 
> 3763)
> 
> 
> Here's the definition I use in my .asoundrc
> 
> pcm.mixin {
>          type dsnoop
>          ipc_key 5978293      # must be unique for all dmix plugins!!!!
>          ipc_key_add_uid yes
>          slave {
>                  pcm "hw:0,0"
>               channels 2
>               period_size 1024

'periods 0' and 'period_time 0' is missing here. You need to overwrite the 
default values.

>               buffer_size 4096
>               rate 44100
>          }
>          bindings {
>                  0 0
>                  0 1
>          }
> }

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to