on 29 Feb 2004. Jaroslav Kysela wrote
> Yes, the dmix plugin might fail with mplayer, too. The mplayer tries to 
> set it's own values for buffer sizes, but dmix has these values fixed.
> Unfortunately, mplayer fails in this case.

Looking at the code in mplayer, I get the impression that
the alsa9 output code should be rewritten by an alsa expert.

I got mplayer to work with the dshare plugin with following
patch (to MPlayer-1.0pre3):

*** libao2/ao_alsa9.c.stuart    Sat Oct  4 19:28:58 2003
--- libao2/ao_alsa9.c   Sun Feb 29 18:24:44 2004
***************
*** 74,81 ****
  
  #define ALSA_DEVICE_SIZE 48
  
! #undef BUFFERTIME
! #define SET_CHUNKSIZE
  #undef USE_POLL
  
  
--- 74,81 ----
  
  #define ALSA_DEVICE_SIZE 48
  
! #define BUFFERTIME
! #undef SET_CHUNKSIZE
  #undef USE_POLL
  
 


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to