[MPlayer-dev-eng] BSD BT848 Radio interface (patch)
Bernd Ernesti
mplayer-dev-eng at lists.veego.de
Thu Nov 9 15:15:27 CET 2006
On Thu, Nov 09, 2006 at 03:06:11PM +0100, Diego Biurrun wrote:
> On Thu, Nov 09, 2006 at 07:36:17PM +0600, Vladimir Voroshilov wrote:
> > I have made new version of bsdbt848 patch.
> > Notes:
> > Removed code related to mixer (currently, stream_radio's *_volume
> > functions control volume level
> > of radio card only).
> > Initialization of constants (frequency range and factor) moved to
> > init_frac_bsdbt848.
> >
> > Please, anybody test it (i haven't bt848).
> >
> > --- stream/stream_radio.c (revision 20812)
> > +++ stream/stream_radio.c (working copy)
> > @@ -33,6 +33,22 @@
> > #include <sys/ioctl.h>
> > #include <errno.h>
> > #include <unistd.h>
> > +
> > +#ifdef HAVE_RADIO_BSDBT848
> > +#include <sys/param.h>
> > +#if defined(__DragonFly__)
> > +#include <dev/video/meteor/ioctl_meteor.h>
> > +#include <dev/video/bktr/ioctl_bt848.h>
> > +#elif __FreeBSD_version >= 502100
> > +#include <dev/bktr/ioctl_meteor.h>
> > +#include <dev/bktr/ioctl_bt848.h>
> > +#else
> > +#include <machine/ioctl_meteor.h>
> > +#include <machine/ioctl_bt848.h>
> > +#endif
>
> This is very ugly.
It maybe ugly, but that is not the latest version which would support
NetBSD. There are another location and different names for these files.
I have to check it later which would be needed to compile it under
NetBSD.
Maybe <dev/ic/bt8xx.h>
Bernd
More information about the MPlayer-dev-eng
mailing list