Skip to contentSkip to conversation

HDSP9652 fix

PATCH Applied Thomas Charbonnel 2 participants 2 messages Apr 9, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

This patch fixes a problem with HDSP9652 cards. Thanks to Joshua N Pritikin for pointing to bug to me and helping in tracking it down.

Thomas

hdsp.c renamed from hdsp.c.old +1 -1
@@ -3025,7 +3025,7 @@
 		hdsp->mixer_matrix[i] = MINUS_INFINITY_GAIN;
 	}
 
-	for (i = 0; i < 2048; i++) {
+	for (i = 0; i < (hdsp_is_9652(hdsp) ? 1352 : HDSP_MATRIX_MIXER_SIZE); i++) {
 		if (hdsp_write_gain (hdsp, i, MINUS_INFINITY_GAIN)) {
 			return -EIO;
 		}
Applied
#1 lore raw

At 09 Apr 2003 09:43:13 +0200,

Quoted 5 lines · Thomas Charbonnel

Hi,

This patch fixes a problem with HDSP9652 cards. Thanks to Joshua N Pritikin for pointing to bug to me and helping in tracking it down.

thanks, applied now.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com