openbsd-ports/audio/esound/patches/patch-esd.h

17 lines
473 B
C
Raw Normal View History

--- esd.h.orig Mon Oct 9 11:09:24 2000
+++ esd.h Sun Jul 22 17:41:06 2001
@@ -7,8 +7,13 @@ extern "C" {
#endif
/* path and name of the default EsounD domain socket */
+#if 0
#define ESD_UNIX_SOCKET_DIR "/tmp/.esd"
2000-10-05 20:17:45 -04:00
#define ESD_UNIX_SOCKET_NAME ESD_UNIX_SOCKET_DIR "/socket"
+#else
2000-10-05 20:17:45 -04:00
+#define ESD_UNIX_SOCKET_DIR esd_unix_socket_dir()
+#define ESD_UNIX_SOCKET_NAME esd_unix_socket_name()
+#endif
/* length of the audio buffer size */
#define ESD_BUF_SIZE (4 * 1024)