[MPlayer-dev-eng] [PATCH] mute audio on NetBSD with sun audio	output driver
    Diego Biurrun 
    diego at biurrun.de
       
    Thu Dec 22 02:43:43 CET 2005
    
    
  
On Thu, Dec 22, 2005 at 01:50:01AM +0100, Alexander Becher wrote:
> 
> Since revision 1.19 of the file libao2/ao_sun.c, muting is as follows:
> mixer volume is not changed, only a mute flag is set, which does not
> exist on NetBSD (nor on OpenBSD to my knowledge). Therefore, muting has
> no effect. With the attached patch, when the volume levels are
> requested to be set to zero, they are changed in addition to the mute
> flag being set.
I'm not sure this is a good solution since now the volume is set to zero
unconditionally.  On a system that supports a mute flag, using it is
preferrable to zeroing the volume.  Of course if it does not exist,
there is no alternative...
Diego
    
    
More information about the MPlayer-dev-eng
mailing list