John Baldwin cc486d8061 - Make the 'hwvol_mixer' and 'hwvol_step' variables be specific to a
specific snd_mixer device rather than global across all mixers.
- Add per-mixer mute status and saved mute_level so that the mixer_hwmute()
  function can now toggle the mute state when the mute button is pressed.
- Create a dynamic sysctl tree hw.snd.pcmX when a pcm device is registered.
- Move the hw.snd.hwvol_* sysctl's to hw.snd.pcmX.hwvol_* so that they
  are now properly device-specific.  Eventually when the mixers become
  their own devices these sysctl's will move to live under a mixerX tree.
- Change the interface of the hwvol_mixer sysctl so that it reports the
  name of the current mixer device instead of the number and is settable
  with the name instead of the number.
- Add a new function mixer_hwinit() used to setup the dynamic sysctl's
  needed for the hwvol support that can be called by drivers that support
  hwvol.

Reviewed by:	cg
2001-01-05 07:07:03 +00:00
..
2000-12-20 01:11:37 +00:00
2000-12-03 13:21:55 +00:00
2000-10-31 14:30:29 +00:00
2000-12-26 06:38:04 +00:00
2000-12-08 00:49:37 +00:00
2000-12-28 23:23:28 +00:00
2000-11-18 15:21:22 +00:00
2000-11-10 06:39:58 +00:00
2000-12-26 06:52:57 +00:00
2000-12-13 01:47:19 +00:00
2000-10-31 08:22:26 +00:00
2000-12-07 20:58:16 +00:00