Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: isaki
Date: Fri May 1 08:21:27 UTC 2020
Modified Files:
src/sys/arch/hppa/include: param.h
src/sys/arch/m68k/include: param.h
src/sys/arch/sh3/include: param.h
src/sys/arch/sparc/include: param.h
src/sys/arch/vax/include: param.h
src/sys/dev/audio: audio.c
Log Message:
Move machine dependent AUDIO_BLK_MS default value to <machine/param.h>.
If the port has __AUDIO_BLK_MS in <machine/param.h>, it will be used.
Otherwise the default value (currently 10 msec) defined in audio.c will
be used. This mechanism is for very old ports which cannot satisfactorily
handle 10 msec block. Currently hppa, m68k, sh3, sparc(!64) and vax are.
For port maintainers, if general models in your port cannot satisfactorily
handle 10 msec block, please consider to define your suitable longer period
(40 msec would be a good first choice).
But please don't be eager to make the default value shorter.
<machine/param.h> was discussed in source-changes-d. It's better than
ifdef storm, or adding 60+ new header files in every arch/*/include/
directories for this. Thanks mrg@, ad@, and everyone.
http://mail-index.netbsd.org/source-changes-d/2020/05/01/msg012572.html
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/hppa/include/param.h
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/m68k/include/param.h
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/sh3/include/param.h
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/sparc/include/param.h
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/vax/include/param.h
cvs rdiff -u -r1.68 -r1.69 src/sys/dev/audio/audio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index