Subject: trivial glitch conf.c for audio
To: None <current-users@netbsd.org>
From: George Michaelson <G.Michaelson@cc.uq.oz.au>
List: current-users
Date: 12/05/1994 11:21:44
conf.c used default select switcher for audio. Unfortunately bsd_audio.c
assumes audioselect() is being called to do some buffer management.

	-George

*** conf.c.dist Mon Dec  5 22:05:56 1994
- - --- conf.c      Sat Dec  3 07:17:35 1994
***************
*** 343,349 ****
  #define cdev_audio_init(c,n) { \
        dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
        dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, 
\
!       (dev_type_reset((*))) nullop, 0, seltrue, \
        (dev_type_mmap((*))) enodev, 0 }
  
  #include "com.h"
- - --- 343,349 ----
  #define cdev_audio_init(c,n) { \
        dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
        dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, 
\
!       (dev_type_reset((*))) nullop, 0, dev_init(c,n,select), \
        (dev_type_mmap((*))) enodev, 0 }
  
  #include "com.h"