freebsd-nq/sys/dev/sound/pci
Ariff Abdullah a580b31a54 Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes
in every sense.

General
-------

- Multichannel safe, endian safe, format safe
   * Large part of critical pcm filters such as vchan.c, feeder_rate.c,
     feeder_volume.c, feeder_fmt.c and feeder.c has been rewritten so that
     using them does not cause the pcm data to be converted to 16bit little
     endian.
   * Macrosses for accessing pcm data safely are defined within sound.h in
     the form of PCM_READ_* / PCM_WRITE_*
   * Currently, most of them are probably limited for mono/stereo handling,
     but the future addition of true multichannel will be much easier.

- Low latency operation
  * Well, this require lot more works to do not just within sound driver,
    but we're heading towards right direction. Buffer/block sizing within
    channel.c is rewritten to calculate precise allocation for various
    combination of sample/data/rate size. As a result, applying correct
    SNDCTL_DSP_POLICY value will achive expected latency behaviour simmilar
    to what commercial 4front driver do.
  * Signal handling fix. ctrl+c of "cat /dev/zero > /dev/dsp" does not
    result long delay.
  * Eliminate sound truncation if the sound data is too small.
    DIY:
      1) Download / extract
         http://people.freebsd.org/~ariff/lowlatency/shortfiles.tar.gz
      2) Do a comparison between "cat state*.au > /dev/dsp" and
         "for x in state*.au ; do cat $x > /dev/dsp ; done"
         - there should be no "perceivable" differences.
    Double close for PR kern/31445.

  CAVEAT: Low latency come with (unbearable) price especially for poorly
          written applications. Applications that trying to act smarter
	  by requesting (wrong) blocksize/blockcount will suffer the most.
	  Fixup samples/patches can be found at:
	  http://people.freebsd.org/~ariff/ports/

- Switch minimum/maximum sampling rate limit to "1" and "2016000" (48k * 42)
  due to closer compatibility with 4front driver.
  Discussed with: marcus@ (long time ago?)

- All driver specific sysctls in the form of "hw.snd.pcm%d.*" have been
  moved to their own dev sysctl nodes, notably:
  hw.snd.pcm%d.vchans -> dev.pcm.%d.vchans
  Bump __FreeBSD_version.

Driver specific
---------------

- Ditto for sysctls.

- snd_atiixp, snd_es137x, snd_via8233, snd_hda
  * Numerous cleanups and fixes.
  * _EXPERIMENTAL_ polling mode support using simple callout_* mechanisme.
   This was intended for pure debugging and latency measurement, but proven
   good enough in few unexpected and rare cases (such as problematic shared
   IRQ with GIANT devices - USB). Polling can be enabled/disabled through
   dev.pcm.0.polling. Disabled by default.

- snd_ich
  * Fix possible overflow during speed calibration. Delay final
    initialization (pcm_setstatus) after calibration finished.
    PR: kern/100169
    Tested by: Kevin Overman <oberman@es.net>
  * Inverted EAPD for few Nec VersaPro.
    PR: kern/104715
    Submitted by: KAWATA Masahiko <kawata@mta.biglobe.ne.jp>

Thanks to various people, notably Joel Dahl, Yuriy Tsibizov, Kevin Oberman,
those at #freebsd-azalia @ freenode and others for testing.

Joel Dahl will do the manpage update.
2006-11-26 12:24:06 +00:00
..
hda Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
als4000.c
als4000.h
atiixp.c Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
atiixp.h Various cleanups. Revert DMA alignmnet back to 2 since the original 2006-10-01 13:30:30 +00:00
au88x0.c
au88x0.h
aureal.c
aureal.h
cmi.c Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
cmireg.h
cs4281.c
cs4281.h
csa.c
csapcm.c
csareg.h
csavar.h
ds1-fw.h
ds1.c
ds1.h
emu10k1.c Use a low probe-priority to ensure that the emu10kx driver has a higher 2006-08-07 23:00:36 +00:00
emu10kx-midi.c Fix a compile time problem on amd64. I'm not sure if the fix is correct 2006-07-16 20:10:08 +00:00
emu10kx-pcm.c "Fixe playback of mono files on stereo outputs. In previous version 2006-08-07 22:55:21 +00:00
emu10kx.c "Fix typos in volume control DSP code." 2006-08-07 22:56:41 +00:00
emu10kx.h "Workaround for sound lag in current snd_emu10kx driver. Real problem 2006-08-07 22:44:01 +00:00
envy24.c - fix memory leak, when "number of adcs" != "number of dacs" 2006-09-30 17:08:51 +00:00
envy24.h dd the envy24 driver as is to the tree. It's not connected to the build 2006-06-17 14:36:44 +00:00
envy24ht.c Driver for Envy24HT (ICE1724 or VT1724)-based cards like 2006-09-30 17:52:28 +00:00
envy24ht.h Driver for Envy24HT (ICE1724 or VT1724)-based cards like 2006-09-30 17:52:28 +00:00
es137x.c Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
es137x.h
fm801.c
ich.c Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
ich.h
maestro3.c
maestro_reg.h
maestro.c - Rename hw.snd.unit to hw.snd.default_unit to make the purpose more obvious. 2006-06-18 14:14:41 +00:00
neomagic-coeff.h
neomagic.c
neomagic.h
solo.c Fix a missing unlock operation in interrupt handler. 2006-07-06 10:39:58 +00:00
spicds.c After repo copy from ak452x.[ch]: SPIcds is the I2S SPI audio codec code 2006-09-30 16:53:40 +00:00
spicds.h After repo copy from ak452x.[ch]: SPIcds is the I2S SPI audio codec code 2006-09-30 16:53:40 +00:00
t4dwave.c
t4dwave.h
via82c686.c
via82c686.h
via8233.c Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
via8233.h
vibes.c
vibes.h