At Sat, 11 May 2019 00:36:42 +0000, m...@netbsd.org wrote: > - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. > ossaudio is still using this, although I don't know if it's critical. > > compat/ossaudio/ossaudio.c:779 > > case OSS_SNDCTL_DSP_SETDUPLEX: > idat = 1; > error = ioctlf(fp, AUDIO_SETFD, &idat);
I think there is no problem. In the past, AUDIO_SETFD used to call hw_if->setfd() in the internal but there was no driver which implemented setfd(). That is, it was available but did nothing. In audio2, AUDIO_SETFD is marked obsolete and does nothing. Thanks, --- Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org>