OpenBSD CVS

CVS log for src/sys/dev/Attic/auconv.c


[BACK] Up to [local] / src / sys / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11, Mon May 11 06:46:21 2015 UTC (9 years, 1 month ago) by ratchov
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED

Remove all audio format conversion code from the kernel (btw holding
the kernel_lock), as we already do better conversions in
user-mode. Yet, no need for every single driver to fiddle with the
conversion code as they are done transparently by common MI code. With
help from armani and miod, support from mpi

ok armani@

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:46 2015 UTC (9 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)

Remove some includes include-what-you-use claims don't
have any direct symbols used.  Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 17 18:30:20 2008 UTC (15 years, 7 months ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.8: +1 -8 lines
Diff to previous 1.8 (colored)

Remove clauses 3 and 4 from NetBSD license.

from ray; ok ray, deraadt

Revision 1.8 / (download) - annotate - [select for diffs], Tue Oct 23 19:54:36 2007 UTC (16 years, 7 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.7: +147 -2 lines
Diff to previous 1.7 (colored)

- add a couple more mono-to-stereo conversions
- add stereo-to-mono conversions for mono recording
  on stereo only devices

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 17 08:35:33 2007 UTC (16 years, 10 months ago) by jakemsr
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

when looping through an array and advancing your pointer to the array
2x on each loop, only loop .5x times

fixes hard hangs on i386 and "hiccups" on sgi when these functions are
used through e.g. dd if=/dev/audio of=foo, since mulaw is the default
encoding.

the commit history wrt this code is interesting.  I am responsible for
introducing this braindamage to OpenBSD ... and note that
linear16_to_linear8_[lb]e had it right ...

Revision 1.1.12.5 / (download) - annotate - [select for diffs], Thu Feb 19 10:56:13 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.1.12.4: +24 -96 lines
Diff to previous 1.1.12.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 27 00:23:43 2003 UTC (20 years, 11 months ago) by jason
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.5: +25 -97 lines
Diff to previous 1.5 (colored)

ansify and add an alaw <-> mulaw conversion

Revision 1.1.12.4 / (download) - annotate - [select for diffs], Fri Mar 28 00:38:09 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.1.12.3: +39 -17 lines
Diff to previous 1.1.12.3 (colored) to branchpoint 1.1 (colored)

Sync the SMP branch with 3.3

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Tue Jun 11 03:42:15 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.3.4.1: +40 -18 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync UBC branch to -current

Revision 1.5 / (download) - annotate - [select for diffs], Mon May 6 02:34:57 2002 UTC (22 years, 1 month ago) by nate
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.4: +40 -18 lines
Diff to previous 1.4 (colored)

new conversion functions from NetBSD for uaudio

Revision 1.1.12.3 / (download) - annotate - [select for diffs], Wed Mar 6 02:11:42 2002 UTC (22 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.1.12.2: +218 -0 lines
Diff to previous 1.1.12.2 (colored) to branchpoint 1.1 (colored)

Merge in trunk

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Thu Jan 31 22:55:29 2002 UTC (22 years, 4 months ago) by niklas
Branch: UBC
Changes since 1.3: +219 -1 lines
Diff to previous 1.3 (colored)

Merge in -current, builds on i386, otherwise untested

Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 31 04:14:00 2001 UTC (22 years, 5 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.3: +219 -1 lines
Diff to previous 1.3 (colored)

add a mono-to-stereo versions; from Kazuhiko Fukuhara <zaa83571@oak.zero.ad.jp>

Revision 1.1.12.2 / (download) - annotate - [select for diffs], Wed Jul 4 10:40:08 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.1.12.1: +1 -0 lines
Diff to previous 1.1.12.1 (colored) to branchpoint 1.1 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.1.12.1 / (download) - annotate - [select for diffs], Mon May 14 22:22:59 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.1: +77 -26 lines
Diff to previous 1.1 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.3 / (download) - annotate - [select for diffs], Tue May 1 01:49:48 2001 UTC (23 years, 1 month ago) by aaron
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

Add $OpenBSD$ tags.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 20 21:44:34 2000 UTC (23 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.1: +77 -26 lines
Diff to previous 1.1 (colored)

extend with new netbsd api, and add backwards compat hacks for drivers

Revision 1.1 / (download) - annotate - [select for diffs], Tue Oct 7 14:07:45 1997 UTC (26 years, 8 months ago) by niklas
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Branch point for: SMP

From NetBSD: Simple conversions of audio streams, for use with the newer
MI audio subsystem (actually one of two :-) ) coming after 2.2

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.