[MPlayer-dev-eng] [PATCH] OpenBSD compile without MMX, OSS fixes

Arpi arpi at thot.banki.hu
Sat Apr 27 16:09:23 CEST 2002


Hi,

> To get OSS-audio support it is necessary to include <soundcard.h>
> instead of <sys/soundcard.h>. So I added a conditional test to configure
> for <soundcard.h> and and added HAVE_SOUNDCARD_H to config.h (also
> changes in libao2/afmt.h). OpenBSD's ossaudio emulation doesn't support
> the SNDCTL_DSP_GETODELAY ioctl. To work arround this limitation I put a
> ifdef into libao2/ao_oss.c. Also OpenBSD uses /dev/sound instead of
> /dev/dsp (/dev/mixer is just fine).

these changes are ok

> The rest of the patch changes the way libraries are build. OpenBSD's ar
> doesn't support the 's' option. To fix this I put in all lib*/Makefile's a
> call to ranlib. To be honest I don't know if this breaks anything on the oth
> er
> target plattforms of mplayer.

why do you need to run ranlib? it should work without it...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list