Subject: CVS commit: syssrc/sys/dev/usb
To: None <source-changes@netbsd.org>
From: TAMURA Kent <kent@netbsd.org>
List: source-changes
Date: 03/18/2002 16:06:10
Module Name:	syssrc
Committed By:	kent
Date:		Mon Mar 18 14:06:09 UTC 2002

Modified Files:
	syssrc/sys/dev/usb: uaudio.c

Log Message:
Create new uaudio_chan_init() and move sample_size/bytes_per_frame
initialization to it from uaudio_chan_set_param().  uaudio_set_params()
calls uaudio_chan_init().
These are required because bytes_per_frame is used in
uaudio_round_blocksize(), which is called before uaudio_set_params().

Noise of 4ch playing disappears by this change.  6ch playing still has
cyclic noise.


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 syssrc/sys/dev/usb/uaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.