Module Name: src Committed By: snj Date: Tue Jan 9 19:35:03 UTC 2018
Modified Files: src/sys/dev [netbsd-8]: auconv.c auconv.h mulaw.c mulaw.h Log Message: Pull up following revision(s) (requested by nat in ticket #485): sys/dev/auconv.c: 1.32-1.35 sys/dev/auconv.h: 1.20-1.21 sys/dev/mulaw.c: 1.33 sys/dev/mulaw.h: 1.25 Improve LINEAR_LINEARN macro - inparticular BE/LE conversions. Addresses part of PR kern/52586 analyzed and reported by isaki@. -- Allow maxused to be an odd number of bytes. This makes single byte conversions work for the test described in the PR. Addresses another part of PR kern/52586. -- Remove 24 bit in a 32 bit container filters. At present this filter did not work well and has caused problems with the audio mixer disabled for hdaudio(4). These filters may return when they are fixed. -- Replace LINEARN_TO_LINEARN macro with individual optimized functions for 8, 16, 24 and 32 bits linear to linear conversions. Addresses PR kern/52586. -- mulaw/alaw_to_linearN macros replaced with individual faster filters. NFC. To generate a diff of this commit: cvs rdiff -u -r1.26.2.3 -r1.26.2.4 src/sys/dev/auconv.c cvs rdiff -u -r1.16.42.2 -r1.16.42.3 src/sys/dev/auconv.h cvs rdiff -u -r1.28.42.2 -r1.28.42.3 src/sys/dev/mulaw.c cvs rdiff -u -r1.20.80.1 -r1.20.80.2 src/sys/dev/mulaw.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.