openbsd-ports/audio/esound/patches/patch-esd.h
brad 083ab4c72f replace oss audio API usage with our native audio API.
--
Patches and code for native audio API support from:
Wilbern Cobb <cobb@vedge.com.ar>
2001-08-04 05:03:19 +00:00

17 lines
473 B
C

--- 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"
#define ESD_UNIX_SOCKET_NAME ESD_UNIX_SOCKET_DIR "/socket"
+#else
+#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)