configure.ac: Add sunaudio

Original commit message from CVS:
* configure.ac: Add sunaudio
* examples/Makefile.am: make gstplay depend on gconf
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: Remove c99-isms
* gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette),
(convert_table_lookup), (img_convert): remove c99-isms
* gst/ffmpegcolorspace/imgconvert_template.h: make a constant
unsigned, to fix a warning on Solaris
* gst/mpeg1sys/systems.c: bcopy->memcpy
* gst/rtjpeg/RTjpeg.c: (RTjpeg_yuvrgb8): bcopy->memcpy
* sys/Makefile.am: Add sunaudio
This commit is contained in:
David Schleef 2004-05-19 06:10:49 +00:00
parent af279726ee
commit 96becbe402
6 changed files with 39 additions and 7 deletions

View File

@ -1,3 +1,16 @@
2004-05-18 David Schleef <ds@schleef.org>
* configure.ac: Add sunaudio
* examples/Makefile.am: make gstplay depend on gconf
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: Remove c99-isms
* gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette),
(convert_table_lookup), (img_convert): remove c99-isms
* gst/ffmpegcolorspace/imgconvert_template.h: make a constant
unsigned, to fix a warning on Solaris
* gst/mpeg1sys/systems.c: bcopy->memcpy
* gst/rtjpeg/RTjpeg.c: (RTjpeg_yuvrgb8): bcopy->memcpy
* sys/Makefile.am: Add sunaudio
2004-05-18 Wim Taymans <wim@fluendo.com> 2004-05-18 Wim Taymans <wim@fluendo.com>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_get_type), (gst_ogg_mux_init), * ext/ogg/gstoggmux.c: (gst_ogg_mux_get_type), (gst_ogg_mux_init),

View File

@ -461,6 +461,12 @@ GST_CHECK_FEATURE(QCAM, [QuickCam], qcamsrc, [
fi fi
]) ])
dnl *** Sun Audio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SUNAUDIO, true)
GST_CHECK_FEATURE(SUNAUDIO, [Sun Audio], sunaudiosrc, [
AC_CHECK_HEADER(sys/audioio.h, HAVE_SUNAUDIO="yes", HAVE_SUNAUDIO="no")
])
dnl *** Video CD *** dnl *** Video CD ***
translit(dnm, m, l) AM_CONDITIONAL(USE_VCD, true) translit(dnm, m, l) AM_CONDITIONAL(USE_VCD, true)
GST_CHECK_FEATURE(VCD, [Video CD], vcdsrc, [ GST_CHECK_FEATURE(VCD, [Video CD], vcdsrc, [
@ -1786,6 +1792,7 @@ sys/dxr3/Makefile
sys/glsink/Makefile sys/glsink/Makefile
sys/oss/Makefile sys/oss/Makefile
sys/qcam/Makefile sys/qcam/Makefile
sys/sunaudio/Makefile
sys/v4l/Makefile sys/v4l/Makefile
sys/v4l2/Makefile sys/v4l2/Makefile
sys/vcd/Makefile sys/vcd/Makefile

View File

@ -10,5 +10,11 @@ else
GTK_SUBDIRS= GTK_SUBDIRS=
endif endif
SUBDIRS=$(GTK_SUBDIRS) gstplay switch if USE_GCONF
GCONF_SUBDIRS=gstplay
else
GCONF_SUBDIRS=
endif
SUBDIRS=$(GTK_SUBDIRS) $(GCONF_SUBDIRS) switch
DIST_SUBDIRS=capsfilter dynparams seeking indexing gstplay switch DIST_SUBDIRS=capsfilter dynparams seeking indexing gstplay switch

View File

@ -70,7 +70,7 @@ create_sector (sector, pack, sys_header,
if (pack != NULL) { if (pack != NULL) {
i = sizeof (pack->buf); i = sizeof (pack->buf);
bcopy (pack->buf, index, i); memcpy (index, pack->buf, i);
index += i; index += i;
sector->length_of_sector += i; sector->length_of_sector += i;
} }
@ -84,7 +84,7 @@ create_sector (sector, pack, sys_header,
if (which_streams != STREAMS_BOTH) if (which_streams != STREAMS_BOTH)
i -= 3; i -= 3;
bcopy (sys_header->buf, index, i); memcpy (index, sys_header->buf, i);
index += i; index += i;
sector->length_of_sector += i; sector->length_of_sector += i;
} }

View File

@ -3370,7 +3370,7 @@ RTjpeg_yuvrgb16 (__u8 * buf, __u8 * rgb)
void void
RTjpeg_yuvrgb8 (__u8 * buf, __u8 * rgb) RTjpeg_yuvrgb8 (__u8 * buf, __u8 * rgb)
{ {
bcopy (buf, rgb, RTjpeg_width * RTjpeg_height); memcpy (rgb, buf, RTjpeg_width * RTjpeg_height);
} }
void void

View File

@ -16,6 +16,12 @@ else
QCAM_DIR= QCAM_DIR=
endif endif
if USE_SUNAUDIO
SUNAUDIO_DIR=sunaudio
else
SUNAUDIO_DIR=
endif
if USE_V4L if USE_V4L
V4L_DIR=v4l V4L_DIR=v4l
else else
@ -52,7 +58,7 @@ else
CDROM_DIR= CDROM_DIR=
endif endif
SUBDIRS=$(DXR3_DIR) $(OSS_DIR) $(QCAM_DIR) $(V4L_DIR) $(V4L2_DIR) \ SUBDIRS=$(DXR3_DIR) $(OSS_DIR) $(SUNAUDIO_DIR) $(QCAM_DIR) $(V4L_DIR) \
$(VCD_DIR) $(CDROM_DIR) $(XI_DIR) $(XV_DIR) $(V4L2_DIR) $(VCD_DIR) $(CDROM_DIR) $(XI_DIR) $(XV_DIR)
DIST_SUBDIRS=dxr3 oss qcam v4l v4l2 vcd ximage xvimage glsink cdrom DIST_SUBDIRS=dxr3 oss qcam sunaudio v4l v4l2 vcd ximage xvimage glsink cdrom