OSS Audio

blubee blubeeme gurenchan at gmail.com
Mon Dec 25 04:16:43 UTC 2017


On Fri, Dec 22, 2017 at 9:31 PM, Sid <sid at bsdmail.com> wrote:

> OSS soundcard.h for FreeBSD stable and current
> https://svn.freebsd.org/base/stable/11/sys/sys/
> https://svn.freebsd.org/base/head/sys/sys/
>
> blubee blubeeme; Mon Dec 11 17:03:10 UTC 2017
> > I'm taking a look at soundcard.h in /usr/include/sys/soundcard.h in
> FreeBSD
> > vs the soundcard.h in the offical OSS 4.01
> > https://sourceforge.net/p/opensound/git/ci/master/tree/
> include/soundcard.h
>
> > It seems like there's been a lot of changes between FreeBSD 3.8ish
> version
> > and the 4.0 version.
>
> > I was grepping around to see if any other files included this soundcard.h
> > header and if updating to the latest would break any other programs.
>

I've been looking into this for a bit now and these ioctl seems missing or
returning strange values.

SNDCTL_DSP_COOKEDMODE
SNDCTL_MIDIINFO
SNDCTL_MIX_ENUMINFO
SNDCTL_MIX_EXTINFO
SNDCTL_CARDINFO
SNDCTL_GETLABEL
SNDCTL_SETLABEL
SNDCTL_GETSONG
SNDCTL_SETNAME
SNDCTL_DSP_GET_CHNORDER

oss_digital_control and it's related data structures seems to be missing,
that needed for digital sources.
    SNDCTL_DSP_READCTL
    SNDCTL_DSP_WRITECTL

The might be implemented in other places if so, where?


More information about the freebsd-ports mailing list