[Liboss-commit] CVS: liboss/lib esddsp.c,1.5,1.6
Brought to you by:
thesin
From: Justin <th...@us...> - 2002-11-06 00:00:07
|
Update of /cvsroot/liboss/liboss/lib In directory usw-pr-cvs1:/tmp/cvs-serv4741/lib Modified Files: esddsp.c 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: esddsp.c =================================================================== RCS file: /cvsroot/liboss/liboss/lib/esddsp.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- esddsp.c 27 Oct 2002 23:01:10 -0000 1.5 +++ esddsp.c 6 Nov 2002 00:00:04 -0000 1.6 @@ -145,7 +145,7 @@ dsp_init(); } -int oss_open (const char *pathname, int flags, va_list args) +int liboss_open (const char *pathname, int flags, va_list args) { static int (*func) (const char *, int, mode_t) = NULL; mode_t mode; @@ -190,9 +190,6 @@ int *arg = (int *) argp; - DPRINTF ("hijacking /dev/dsp ioctl, and sending it to esd " - "(%d : %x - %p)\n", fd, request, argp); - switch (request) { case SNDCTL_DSP_RESET: @@ -283,9 +280,6 @@ int *arg = (int *) argp; - DPRINTF ("hijacking /dev/mixer ioctl, and sending it to esd " - "(%d : %x - %p)\n", fd, request, argp); - switch (request) { case SOUND_MIXER_READ_DEVMASK: @@ -350,7 +344,7 @@ } int -oss_ioctl (int fd, request_t request, va_list args) +liboss_ioctl (int fd, request_t request, va_list args) { static int (*func) (int, request_t, void *) = NULL; void *argp; @@ -375,7 +369,7 @@ } int -oss_close (int fd) +liboss_close (int fd) { static int (*func) (int) = NULL; |