Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > by-pkgid > a582147302f02a36197a07d5d7cfe18a > files > 7

arts-1.5.10-alt3.M41.1.src.rpm

--- arts-1.2.3/flow/audioioalsa.cc~	2004-07-13 21:00:28 +0400
+++ arts-1.2.3/flow/audioioalsa.cc	2004-07-13 21:00:53 +0400
@@ -356,6 +356,7 @@ int AudioIOALSA::getParam(AudioParam p)
 				return audio_write_fd;
 			break;
 
+#if 0
 		case autoDetect:
 				/*
 				 * that the ALSA driver could be compiled doesn't say anything
@@ -365,6 +366,7 @@ int AudioIOALSA::getParam(AudioParam p)
 				 */
 				return 5;
 			break;
+#endif
 
 		default:
 				return param(p);
--- arts-1.2.3/flow/audioioesd.cc~	2003-12-02 21:47:07 +0300
+++ arts-1.2.3/flow/audioioesd.cc	2004-07-13 21:01:06 +0400
@@ -216,6 +216,9 @@ int AudioIOESD::getParam(AudioParam p)
 		// of any portable way to peek at the socket's send or receive
 		// buffers.
 
+	case autoDetect:
+		return 5;
+
 	default:
 		return param(p);
 	}