Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: audio2



At Sat, 11 May 2019 00:36:42 +0000,
maya%netbsd.org@localhost 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 <isaki%pastel-flower.jp@localhost / isaki%NetBSD.org@localhost>


Home | Main Index | Thread Index | Old Index