[nas] [PATCH] mute button for aupanel

Jon Trulson jon at radscan.com
Sun Nov 20 14:45:34 MST 2005


On Tue, 15 Nov 2005, Erik Auerswald wrote:

> Hi,
>
>>> I'd like to have a mute button in aupanel, so I I've written a patch
>>> (against nas version 1.7b) that implements one.
>>>
>>> Muting is realized by saving the current value (to restore on unmute)
>>> and seeting gain to 0. Every device is muted independently.
>>>
>>> I have tested the patch on linux only, but it should work on other
>>> operating systems as well.
>>
>> 	Patch applied, thanks!
>
> I've made two small improvements to this patch:
>

 	Thanks... but... the patches seem to be missing... :)

> 1) Using the gain slider to change the gain of a muted devices now
>   results in changing the mute-state to unmuted (clearing the saved
>   value). In the first version the mute-state was unchanged and
>   therefore inconsistent with the de facto unmuted device.
> 2) The mute button is now included in the X application defaults file
>   Aupanel.ad (what I forgot to do in the first version).
>
> Attached to this mail are a complete patch against NAS version 1.7b
> (file nas-aupanel-mute-version2.patch) and a patch against a NAS version
> 1.7b tree with my first patch already applied
> (nas-aupanel-mute-version1-to-version2.patch).
>
> I've tested the patched aupanel on linux/x86 and solaris/SPARC.
>
> Erik
>

-- 
Jon Trulson    mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
"I am Nomad." -Nomad




More information about the Nas mailing list