Группа :: Система/Серверы
Пакет: arts
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: arts-1.2.3-detect-esd.patch
--- 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);
}