Dmitry wrote:
> I suspect that my parameters to dmix are incorrect (the bufersize
> etc).
>
>         slave {
>                 pcm "hw:1,0"
>                 period_time 0
>                 period_size 1024
>                 buffer_size 4096  # buffer size < 6653, but pow(x, 2)
>                 rate 44100
>         }

Set buffer_time to 0 so that the buffer_size setting takes effect.

> xmms however stops playing after 5-20 seconds.

> I've tried to use the dmixhowto
> (http://alsa.opensrc.org/index.php?page=DmixPlugin) and use aoss
> to play an mp3 file with mpg123. It works but the whole file is
> played in about 5 seconds.

Are you using the latest ALSA version?


Regards,
Clemens




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to