[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	ratchov_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2007/10/28 07:23:01

Modified files:
	sys/dev        : audio.c 

Log message:
the pointer we give to audio_fill_silence() may point in the middle of a
sample (eg. if write(2) have written an odd number of bytes and 16bit
encoding is used), so we'll not properly write silence. To fix this,
round start pointer to fill with silence uncomplete samples too.

ok jakemsr@