[Liboss-commit] CVS: liboss/include soundcard.h,1.10,1.11
Brought to you by:
thesin
|
From: Justin <th...@us...> - 2002-11-06 00:00:07
|
Update of /cvsroot/liboss/liboss/include
In directory usw-pr-cvs1:/tmp/cvs-serv4741/include
Modified Files:
soundcard.h
Log Message:
was a little noisy, thus removed some print outs, and added to the TODO list, I think it's just that stuff that is missing. lots of it is done in liboss.c prolly why i got it to work once I'll continue going through this stuff when I get home tonight
Index: soundcard.h
===================================================================
RCS file: /cvsroot/liboss/liboss/include/soundcard.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- soundcard.h 5 Nov 2002 21:34:17 -0000 1.10
+++ soundcard.h 6 Nov 2002 00:00:04 -0000 1.11
@@ -306,29 +306,29 @@
#undef open
#undef close
#ifndef LIBOSS_INTERNAL
-extern int oss_ioctl (int,unsigned long,va_list);
-extern int oss_open (const char *,int,va_list);
-extern int oss_close (int);
+extern int liboss_ioctl (int,unsigned long,va_list);
+extern int liboss_open (const char *,int,va_list);
+extern int liboss_close (int);
static inline int ioctl (int x, unsigned long y,...)
{
va_list l;
va_start(l,y);
- return oss_ioctl(x,y,l);
+ return liboss_ioctl(x,y,l);
}
static inline int open (const char* x, int y,...)
{
va_list l;
va_start(l,y);
- return oss_open(x,y,l);
+ return liboss_open(x,y,l);
}
-static inline int close (int x) {oss_close(x); return x;}
+static inline int close (int x) {liboss_close(x); return x;}
#else
-extern int oss_ioctl (int,unsigned long,va_list);
-extern int oss_open (const char *,int,va_list);
-extern int oss_close (int);
+extern int liboss_ioctl (int,unsigned long,va_list);
+extern int liboss_open (const char *,int,va_list);
+extern int liboss_close (int);
#endif
__END_DECLS
#endif /* !_SOUNDCARD_H_ */
|