opnsense-src/sys/dev/sound/pcm
Ariff Abdullah fd1475d34d [stage: 5/9]
channel.c/channel_if.m:
 - Macros cleanups, prefer inlined min() over MIN().
 - Rework chn_read()/chn_write() for better dead interrupt detection
   policy. Reduce scheduling overhead by doing pure 5 seconds sleep
   before giving up, instead of several cycle of brute micro sleeping.
 - Avoid calling wakeup_one() for non-sleeping channel (for example,
   vchan parent channel).
 - EWOULDBLOCK -> EAGAIN.
 - Fix possible divide-by-zero panic on chn_sync().
 - Re-enforce ^2 blocksize policy, since there are too many broken
   userland apps that blindly assume it without even trying to do
   serious calculations.
 - New channel method - CHANNEL_SETFRAGMENTS(), a refined version of
   CHANNEL_SETBLOCKSIZE(). It accept _both_ blocksize and blockcount
   arguments, so the driver internals will have better hints for
   buffering and timing calculations.
 - Hook FEEDER_SWAPLR into feederchain building process.

feeder_fmt.c:
- Unified version of various filters, avoiding duplications.
- malloc()less feeder_fmt. Informations can be retrieved dynamically
  by doing table lookup on static data. For cases such as converting
  from stereo to mono or reducing bit depth where input data is larger
  than output, cycle remaining available free space until it has been
  exhausted and start kicking 8 bytes reservoir space from there to
  complete the remaining requested count.
- Introduce FEEDER_SWAPLR. Few super broken hardwares (found on several
  extremely cheap uaudio stick, possibly others) mistakenly wired left
  and right channels wrongly, screwing output or input.
2007-03-16 17:16:24 +00:00
..
ac97.c Spring cleanup on irrelevant NULL checking over M_WAITOK allocations. 2007-03-15 18:19:01 +00:00
ac97.h Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
ac97_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ac97_patch.c Orion originally wrote and added these files in 2002/2003, so with his 2007-02-04 06:52:33 +00:00
ac97_patch.h Orion originally wrote and added these files in 2002/2003, so with his 2007-02-04 06:52:33 +00:00
buffer.c [stage: 2/9] 2007-03-16 17:13:44 +00:00
buffer.h Fix huge memory leak within sound buffer (during channel destruction, 2007-02-01 09:46:03 +00:00
channel.c [stage: 5/9] 2007-03-16 17:16:24 +00:00
channel.h Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
channel_if.m [stage: 5/9] 2007-03-16 17:16:24 +00:00
dsp.c Remove comment that is no longer relevant since previous 2006-12-07 07:48:20 +00:00
dsp.h Put #ifndef... after the license. 2007-01-31 12:10:48 +00:00
fake.c Spring cleanup on irrelevant NULL checking over M_WAITOK allocations. 2007-03-15 18:19:01 +00:00
feeder.c [stage: 4/9] 2007-03-16 17:15:33 +00:00
feeder.h [stage: 4/9] 2007-03-16 17:15:33 +00:00
feeder_fmt.c [stage: 5/9] 2007-03-16 17:16:24 +00:00
feeder_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
feeder_rate.c Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
feeder_volume.c [stage: 3.1/9] 2007-03-16 17:14:19 +00:00
mixer.c Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes 2006-11-26 12:24:06 +00:00
mixer.h Nuke OSSV4_EXPERIMENT ifdefs from kludgy MIXER_SIZE definition 2006-09-30 01:24:22 +00:00
mixer_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
sndstat.c [stage: 1/9] 2007-03-16 17:13:12 +00:00
sound.c Spring cleanup on irrelevant NULL checking over M_WAITOK allocations. 2007-03-15 18:19:01 +00:00
sound.h [stage: 4/9] 2007-03-16 17:15:33 +00:00
vchan.c [stage: 3.2/9] 2007-03-16 17:14:41 +00:00
vchan.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00