[Asterisk-cvs] asterisk/channels chan_oss.c,1.9,1.10

markster at lists.digium.com markster at lists.digium.com
Tue Oct 21 21:44:33 CDT 2003


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv1618/channels

Modified Files:
	chan_oss.c 
Log Message:
Make getaddrfor work with openbsd (bug #415)


Index: chan_oss.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_oss.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- chan_oss.c	21 Oct 2003 02:57:29 -0000	1.9
+++ chan_oss.c	22 Oct 2003 03:10:34 -0000	1.10
@@ -46,7 +46,11 @@
 #include "answer.h"
 
 /* Which device to use */
+#ifdef __OpenBSD__
+#define DEV_DSP "/dev/audio"
+#else
 #define DEV_DSP "/dev/dsp"
+#endif
 
 /* Lets use 160 sample frames, just like GSM.  */
 #define FRAME_SIZE 160




More information about the svn-commits mailing list