snd_emu10kx patch (WAS: RE: SB Live 5.1 Digital - sysctl ?)
Yuriy.Tsibizov at gfk.com
Tue Jul 10 13:35:38 UTC 2007
> Dear SB Live! / Audigy users.
> I'm going to ask ariff to (ask re@ and) commit this patch before 7.0
> Update snd_emu10kx driver with recent perforce changes (and some other
> changes too).
> (without any real order)
> 1. Use device_get_nameunit for mutex naming
> 2. Add timer for low-latency playback
> 3. Move most mixer controls from sysctls to mixer(8) controls. This
> is a largest part of this patch.
> 4. Add analog/digital switch (as a temporary sysctl)
> 5. Get back support for low-bitrate playback (with help of (2))
> 6. Change locking for exclusive I/O. Writing to non-PTR register
> is almost safe and does not need to be ordered with PTR operations.
> 7. Disable MIDI until we get it to detach properly and fix memory
> managment problems.
> 8. Enable multichannel playback by default. It is as stable as
> single-channel mode. Multichannel recording is still an experimental
> 9. Add a way to disable card from a loader tunable.
I've upated this patch to change multichannel configuration from kernel
options to tunables (aka loader hints).
It will allow different configuration for different cards (like emu10kx0
will be single-channel and emu10kx1 will
be multichannel) for people who use more than one card.
It also add locking in PCM interupt handler.
More information about the freebsd-multimedia