[Gstreamer-bugs] [Bug 143861] - OSS elements portability on BSD (soundcard.h location)
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Mon Jun 7 06:00:08 PDT 2004
http://bugzilla.gnome.org/show_bug.cgi?id=143861
GStreamer | gst-plugins | Ver: HEAD CVS
------- Additional Comments From in7y118 at public.uni-hamburg.de 2004-06-07 09:00 -------
xine includes taken from from
http://cvs.sourceforge.net/viewcvs.py/*checkout*/xine/xine-lib/src/audio_out/audio_oss_out.c?content-type=text%2Fplain&rev=1.109
#if defined(__OpenBSD__)
# include <soundcard.h>
#elif defined (__FreeBSD__)
# if __FreeBSD__ < 4
# include <machine/soundcard.h>
# else
# include <sys/soundcard.h>
# endif
#else
# include <sys/soundcard.h>
#endif
libao (Xiph's audioout lib) taken from
http://svn.xiph.org/trunk/ao/src/plugins/oss/ao_oss.c
#if defined(__OpenBSD__) || defined(__NetBSD__)
#include <soundcard.h>
#else
#include <sys/soundcard.h>
#endif
esound taken from
http://cvs.gnome.org/viewcvs/esound/configure.in?rev=1.94&view=auto
in configure.in uses AC_CHECK_HEADERS(soundcard.h sys/soundcard.h
machine/soundcard.h) and ifdefs based on that.
mplayer taken from
http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/configure?rev=1.866&content-type=text/x-cvsweb-markup
(muhahaha)
does basically the same as esound. It only checks for sys/soundcard.h and
soundcard.h though.
Based on that my suggestion would be to copy from esound.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
More information about the Gstreamer-bugs
mailing list