Re: [PATCH] allow volume keys to work without OSS emulation
                
                Brought to you by:
                
                    matthiasgrimm
                    
                
            
            
        
        
        
    | 
     
      
      
      From: Matthias G. <mat...@us...> - 2004-11-18 18:28:59
      
     
   | 
Am Donnerstag, 18. November 2004 06:03 schrieb John Steele Scott: > Hi all, > > This patch allows pbbuttonsd to use ALSA without requiring the OSS > emulation modules be loaded. More comments are included in the patch file. nice work :-) > It allows for muting and increase/decrease of the volume. One thing I've > noticed is that gtkpbbuttonsd does not recognise when it changes the > volume. Can anyone give me a hint why that might be? Yes I can. You need to send the volume information to gtkpbbuttons. This could be done with the function call: singletag_to_clients (CHANGEVALUE, base->mute ? TAG_MUTE : TAG_VOLUME, vol); Add this line somewhere in your function alsamixer_set_and_send() and gtkpbbuttons will display your volume again. The only thing left to do is to decide which channel's volume should be sent. Best Regards Matthias  |