Update of /cvsroot/liboss/liboss/include
In directory usw-pr-cvs1:/tmp/cvs-serv25516/include
Modified Files:
soundcard.h
Log Message:
need to make a liboss_write for write calls, this is just the first version since i need to move some files I'll do that then finish this
Index: soundcard.h
===================================================================
RCS file: /cvsroot/liboss/liboss/include/soundcard.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- soundcard.h 6 Nov 2002 17:50:06 -0000 1.15
+++ soundcard.h 6 Nov 2002 18:51:34 -0000 1.16
@@ -111,6 +111,7 @@
/* Need native 16 bit format which depends on byte order */
#include <machine/endian.h>
+#include <machine/byte_order.h>
#if _BYTE_ORDER == _LITTLE_ENDIAN
#define AFMT_S16_NE AFMT_S16_LE
#else
@@ -309,6 +310,8 @@
#include <stdarg.h>
#include <unistd.h>
+#include <esd.h>
+
#undef ioctl
#undef open
#undef close
@@ -324,6 +327,8 @@
#ifndef LIBOSS_CLOSE
# define LIBOSS_CLOSE close
#endif
+
+extern int liboss_write (int, const void *, size_t);
#ifndef LIBOSS_INTERNAL
extern int liboss_ioctl (int,unsigned long,va_list);
|