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

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	ratchov_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/10/30 12:25:43

Modified files:
	lib/libsndio   : sun.c 

Log message:
only few (frequency, blocksize) pairs are compatible with both resampling
and block based audio i/o (arithmetic constraints). For now round the
frequency to a supported one, (ie 8kHz, 11.025kHz, 12kHz multiple), and get
the the block size from a table.

fixes problem reported by Robert <robert _at_ openbsd.pap.st>
ok jakemsr

Visit your host, monkey.org