On Thu, Nov 27, 2008 at 09:03:37PM -0700, Jacob Meuser wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   [EMAIL PROTECTED]       2008/11/27 21:03:37
> 
> Modified files:
>       sys/dev/pci    : azalia.h azalia_codec.c 
> 
> Log message:
> - use switch() instead of multiple if else
> - put selectors that feed ADCs into the record class like we do for
> mixers
> - use azalia_nid_to_index more
> - shrink mixer items list by condensing mutes for multiple input
> sources into a single _source control of type AUDIO_MIXER_SET.
> for example,
> 
> record.mix6_mic_mute=off
> record.mix6_mic2_mute=off
> record.mix6_line_mute=off
> record.mix6_hp_mute=off
> record.mix6_spkr_mute=off
> record.mix6_mix_mute=off
> 
> is now represented as
> 
> record.mix6_source=mic,mic2,line,hp,spkr,mix
> 
> to mute all sources but the mic just do
> 
> record.mix6_source=mic
> 
> reduces mixer items by about 25% on my machine.  also shortens the
> longest names.

really cool!

-- Alexandre

Reply via email to