Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-7] src/sys/dev
Module Name: src
Committed By: martin
Date: Sun Nov 23 13:23:50 UTC 2014
Modified Files:
src/sys/dev [netbsd-7]: auvolconv.c
Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #256):
sys/dev/auvolconv.c: revision 1.2
When this code was split from dev/pad, the "volume" member size was changed
from u_int to uint8_t. This had the unfortunate side-effect of introducing
an integer overflow when adjusting samples as the largest type used was now
int16_t. This change copies the volume level to a temporary u_int and uses
that in the calculation. Fixes recent failures with the
dev/audio/t_pad/pad_output test.
To generate a diff of this commit:
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 src/sys/dev/auvolconv.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