Commit graph

224 commits

Author SHA1 Message Date
Jan Schmidt
6b789d2dd1 sys/oss/gstosssink.c: Free the device name string when finalised.
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_class_init),
(gst_oss_sink_init), (gst_oss_sink_finalise):
Free the device name string when finalised.
2006-01-27 01:43:07 +00:00
Tim-Philipp Müller
bca6983cab sys/oss/gstossmixerelement.c: Add 'device-name' property and fix state change function.
Original commit message from CVS:
* sys/oss/gstossmixerelement.c: (gst_oss_mixer_element_class_init),
(gst_oss_mixer_element_get_property),
(gst_oss_mixer_element_change_state):
Add 'device-name' property and fix state change function.
2005-12-13 17:18:32 +00:00
Stefan Kost
5a91d04ed4 sys/oss/gstosssink.c: more debug-func-ptr usage
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_class_init):
more debug-func-ptr usage
2005-12-11 17:50:50 +00:00
Tim-Philipp Müller
fc270aab79 configure.ac: Update comment in OSS includes check.
Original commit message from CVS:
* configure.ac:
Update comment in OSS includes check.
* sys/oss/gstossdmabuffer.c:
* sys/oss/gstosshelper.c:
* sys/oss/gstossmixer.c:
* sys/oss/gstossmixertrack.c:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
* sys/oss/oss_probe.c:
Don't assume the OSS soundcard.h include is always in
the sys/ directory. Instead, use the existing defines
from config.h to include the right file. Fixes
compilation on OpenBSD 3.8 (#323718).
2005-12-10 14:57:48 +00:00
Thomas Vander Stichele
3ecf433432 expand tabs
Original commit message from CVS:
expand tabs
2005-12-06 19:44:58 +00:00
Andy Wingo
0d470f58ca *.*: Ran scripts/update-macros. Oh yes.
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* *.h:
* *.c: Ran scripts/update-macros. Oh yes.
2005-11-21 16:36:05 +00:00
Thomas Vander Stichele
6ff59b2f6e rework configure.ac; make asterisk rtp stuff compile on mingw
Original commit message from CVS:
rework configure.ac; make asterisk rtp stuff compile on mingw
2005-11-14 02:13:35 +00:00
Tim-Philipp Müller
a9c9d62886 sys/oss/gstosssink.c: Don't re-use already closed file descriptor. (#320920)
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* sys/oss/gstosssink.c: (gst_oss_sink_close):
Don't re-use already closed file descriptor. (#320920)
2005-11-08 08:54:30 +00:00
Tim-Philipp Müller
ef3e55d3a6 sys/oss/gstosssink.*: Cache probed caps; fix debug output for SET_PARAM macros.
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_dispose),
(gst_oss_sink_set_property), (gst_oss_sink_getcaps),
(gst_oss_sink_prepare):
* sys/oss/gstosssink.h:
Cache probed caps; fix debug output for SET_PARAM macros.
2005-11-07 17:35:20 +00:00
Wim Taymans
58a2d25be7 sys/oss/gstosssrc.c: Set correct format on oss instead of a silly value.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_oss_src_prepare):
Set correct format on oss instead of a silly value.
2005-10-27 11:00:40 +00:00
Tim-Philipp Müller
6b9cda6ee9 sys/oss/: Actually use the 'oss' debug category we register.
Original commit message from CVS:
* sys/oss/gstossaudio.c:
* sys/oss/gstossdmabuffer.c:
* sys/oss/gstosshelper.c:
* sys/oss/gstossmixer.c:
* sys/oss/gstossmixerelement.c:
* sys/oss/gstossmixertrack.c:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
Actually use the 'oss' debug category we register.
2005-10-26 11:12:34 +00:00
Tim-Philipp Müller
0e01f91dc1 sys/oss/gstosssrc.c: Set bytes_per_sample correctly (is not always 4, but depends on width and number of channels).
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_oss_src_prepare):
Set bytes_per_sample correctly (is not always 4, but
depends on width and number of channels).
2005-10-24 15:57:17 +00:00
Wim Taymans
9566dd506b sys/oss/: Cleanups, make device configurable in the sink, handle and report errors.
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_class_init),
(gst_oss_sink_init), (gst_oss_sink_set_property),
(gst_oss_sink_get_property), (gst_oss_sink_open),
(gst_oss_sink_prepare), (gst_oss_sink_reset):
* sys/oss/gstosssink.h:
* sys/oss/gstosssrc.c: (gst_oss_src_class_init),
(gst_oss_src_set_property), (gst_oss_src_init), (gst_oss_src_open),
(gst_oss_src_prepare):
Cleanups, make device configurable in the sink, handle and report
errors.
2005-10-10 14:16:21 +00:00
Tim-Philipp Müller
26745bb132 sys/oss/gstosssink.c: Fix playback of mono streams (bytes_per_sample should be set from the sample width and the numb...
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_prepare):
Fix playback of mono streams (bytes_per_sample should be set
from the sample width and the number of channels negotiated,
and not just be set to 4) (#317338)
2005-09-27 15:12:45 +00:00
Thomas Vander Stichele
7593b38a57 fix build and use of GST_LIBS
Original commit message from CVS:
fix build and use of GST_LIBS
2005-09-23 04:23:00 +00:00
Andy Wingo
7ebd7b97d4 All plugins updated for element state changes.
Original commit message from CVS:
2005-09-02  Andy Wingo  <wingo@pobox.com>

* All plugins updated for element state changes.
2005-09-02 15:44:50 +00:00
Andy Wingo
99fc32962a Updates for two-arg init from GST_BOILERPLATE.
Original commit message from CVS:
2005-08-28  Andy Wingo  <wingo@pobox.com>

* Updates for two-arg init from GST_BOILERPLATE.

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use
the second arg for the class, because G_OBJECT_GET_CLASS (self)
returns the wrong thing.
(gst_signal_processor_add_pad_from_template): Make pads of the
right type.

* ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make
writable param specs G_PARAM_CONSTRUCT so default values work.
(gst_ladspa_init): Use the second arg for the class.
2005-08-28 17:59:20 +00:00
Andy Wingo
ceab3d5da2 sys/oss/gstosssrc.c (gst_oss_src_open): Set the device-name property after opening the mixer.
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstosssrc.c (gst_oss_src_open): Set the device-name
property after opening the mixer.
2005-08-23 14:10:05 +00:00
Andy Wingo
02a32faa48 sys/oss/gstosssrc.*: Easy to implement a mixer, eh...
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstosssrc.c:
* sys/oss/gstosssrc.h: Easy to implement a mixer, eh...
2005-08-23 13:59:22 +00:00
Andy Wingo
b976e88c29 sys/oss/gstossmixerelement.*: Added mixer element like alsamixer.
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstossmixerelement.h:
* sys/oss/gstossmixerelement.c: Added mixer element like
alsamixer.

* sys/oss/Makefile.am:
* sys/oss/gstossaudio.c: Register the ossmixer element.
2005-08-23 13:53:17 +00:00
Andy Wingo
d1d21600f8 sys/oss/gstossmixer.*: Refactored to be more like alsamixer.
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstossmixer.h:
* sys/oss/gstossmixer.c: Refactored to be more like alsamixer.

* sys/oss/gstossmixertrack.h:
* sys/oss/gstossmixertrack.c: Split out from gstossmixer.[ch],
like gstalsamixer.

* sys/oss/gstosssrc.c:
* sys/oss/gstosssink.c: Where before we used a gstosselement
object as a helper library, now just call functions from
gstosshelper.

* sys/oss/gstosshelper.h:
* sys/oss/gstosshelper.c: Made a real library. Removed
propertyprobe for now, should add it back later.

* sys/oss/gstosselement.h:
* sys/oss/gstosselement.c: Removed, we don't have a shared base
class.

* sys/oss/gstosshelper.c (gst_oss_helper_probe_caps): Search
higher-to-lower, makes 16 bit appear earlier in the caps, which
makes it preferred.
2005-08-23 13:26:21 +00:00
Andy Wingo
ffaaa7528a sys/oss/gstosssrc.*: Totally ported, dude.
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstosssrc.h:
* sys/oss/gstosssrc.c: Totally ported, dude.

* sys/oss/Makefile.am:
* sys/oss/gstossaudio.c: Add osssrc.

* sys/oss/gstosssink.c: We do native byte order.
2005-08-23 09:46:29 +00:00
Andy Wingo
568194ce35 sys/oss/gstosssink.c (gst_oss_sink_open, gst_oss_sink_close)
Original commit message from CVS:
2005-08-08  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstosssink.c (gst_oss_sink_open, gst_oss_sink_close)
(gst_oss_sink_prepare, gst_oss_sink_unprepare): Update for newer
audiosink api.

* ext/raw1394/gstdv1394src.c (gst_dv1394src_get_property)
(gst_dv1394src_set_property): Style. All about the style.

* ext/esd/esdsink.c (gst_esdsink_getcaps): Return specific caps
only if in READY or higher (i.e., if _open() has been called.)
(gst_esdsink_open, gst_esdsink_close, gst_esdsink_prepare)
(gst_esdsink_unprepare): Update for audiosink changes.
(gst_esdsink_change_state): Die!
2005-08-08 16:43:47 +00:00
Andy Wingo
284327da55 sys/oss/gstossaudio.c (plugin_init): Second-class citizen.
Original commit message from CVS:
2005-08-04  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstossaudio.c (plugin_init): Second-class citizen.

* gst/videobox/gstvideobox.c (gst_video_box_get_size): Update for
API changes.

* configure.ac (DEFAULT_AUDIOSINK, DEFAULT_VIDEOSINK): Set to
autoaudiosink and autovideosink.
2005-08-04 20:05:51 +00:00
Wim Taymans
ecb294fb21 sys/oss/gstosssink.c: Parse spec to set correct oss values.
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_get_format),
(gst_oss_sink_open):
Parse spec to set correct oss values.
2005-07-19 19:03:26 +00:00
Thomas Vander Stichele
da8915bfc1 more macro splitting; fix po problem
Original commit message from CVS:
more macro splitting; fix po problem
2005-07-10 12:52:20 +00:00
Andy Wingo
81dae26a23 add missing filez
Original commit message from CVS:
add missing filez
2005-07-08 13:19:16 +00:00
Andy Wingo
6fc2023e8f sys/oss/: Port from THREADED+wim's fixes.
Original commit message from CVS:
2005-07-08  Andy Wingo  <wingo@pobox.com>

* sys/oss/: Port from THREADED+wim's fixes.
2005-07-08 11:19:19 +00:00
Jan Schmidt
70274d9c82 Roll gstreamer-interfaces-0.9.pc into gstreamer-plugins-base-0.9.pc
Original commit message from CVS:
2005-07-01  Jan Schmidt  <thaytan@mad.scientist.com>

* configure.ac:
* ext/mad/Makefile.am:
* sys/oss/Makefile.am:
Roll gstreamer-interfaces-0.9.pc into gstreamer-plugins-base-0.9.pc
2005-07-01 09:25:58 +00:00
Christian Schaller
4bfaf808b9 gst-plugins 0.9 cvs head now compiles (only effectv left compiling)
Original commit message from CVS:
gst-plugins 0.9 cvs head now compiles (only effectv left compiling)
2005-05-06 10:02:53 +00:00
Christian Schaller
6695411f84 add GST_INTERFACES_LIBS
Original commit message from CVS:
add GST_INTERFACES_LIBS
2005-05-05 17:09:25 +00:00
Christian Schaller
886110240a updates to make this closer to compile
Original commit message from CVS:
updates to make this closer to compile
2005-05-05 16:35:52 +00:00
Ronald S. Bultje
294f780cff sys/oss/gstosselement.c: Kick the hell out of gcc for not warning me about a symbol conflict.
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Kick the hell out of gcc for not warning me about a symbol conflict.
2005-02-22 15:23:05 +00:00
Stéphane Loeuillet
c8c7968af1 remove outdated README file of oss directory
Original commit message from CVS:
remove outdated README file of oss directory
2004-12-21 10:33:57 +00:00
Ronald S. Bultje
64ed8f9735 sys/oss/: fixes #159433. Also add missing copyright header to oss_probe.c.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* sys/oss/gstosselement.c: (gst_osselement_probe_caps):
* sys/oss/oss_probe.c: (main):
Check for mono/stereo support (similar to samplerate probing),
fixes #159433. Also add missing copyright header to oss_probe.c.
2004-12-16 11:34:54 +00:00
Jan Schmidt
9888ea2990 Fixes a bunch of problems with finalize and dispose functions, either assumptions that dispose is only called once, o...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_init), (gst_alsa_dispose),
(gst_alsa_finalize):
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init),
(gst_cdaudio_finalize):
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init),
(cdparanoia_finalize):
* ext/divx/gstdivxdec.c: (gst_divxdec_dispose):
* ext/divx/gstdivxenc.c: (gst_divxenc_dispose):
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init),
(dvdreadsrc_finalize):
* ext/flac/gstflacdec.c: (gst_flacdec_class_init),
(gst_flacdec_finalize):
* ext/flac/gstflacenc.c: (gst_flacenc_class_init),
(gst_flacenc_finalize):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_class_init),
(gst_gnomevfssink_finalize):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_class_init),
(gst_gnomevfssrc_finalize):
* ext/libfame/gstlibfame.c: (gst_fameenc_class_init),
(gst_fameenc_finalize):
* ext/nas/nassink.c: (gst_nassink_class_init),
(gst_nassink_finalize):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_finalize),
(gst_sdlvideosink_class_init):
* ext/sndfile/gstsf.c: (gst_sf_dispose):
* gst-libs/gst/mixer/mixertrack.c: (gst_mixer_track_dispose):
* gst-libs/gst/tuner/tunerchannel.c: (gst_tuner_channel_dispose):
* gst-libs/gst/tuner/tunernorm.c: (gst_tuner_norm_dispose):
* gst-libs/gst/xwindowlistener/xwindowlistener.c:
(gst_x_window_listener_dispose):
* gst/audioscale/gstaudioscale.c:
* gst/playondemand/gstplayondemand.c: (play_on_demand_class_init),
(play_on_demand_finalize):
* gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose):
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init),
(cdplayer_finalize):
* sys/glsink/glimagesink.c: (gst_glimagesink_finalize),
(gst_glimagesink_class_init):
* sys/oss/gstosselement.c: (gst_osselement_class_init),
(gst_osselement_finalize):
* sys/oss/gstosssink.c: (gst_osssink_dispose):
* sys/oss/gstosssrc.c: (gst_osssrc_dispose):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_dispose):
Fixes a bunch of problems with finalize and dispose functions,
either assumptions that dispose is only called once, or not calling
the parent class dispose/finalize function
2004-11-01 14:43:38 +00:00
Ronald S. Bultje
b41cdefc05 sys/oss/gstosssrc.*: OK, so people want offset in DEFAULT. This time, actually fix all cases.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get_time), (gst_osssrc_get),
(gst_osssrc_src_query):
* sys/oss/gstosssrc.h:
OK, so people want offset in DEFAULT. This time, actually fix all
cases.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps):
Add FPS properly.
2004-10-25 08:40:07 +00:00
Ronald S. Bultje
25a10db2e2 sys/oss/gstosssrc.c: Don't mix bytes and samples.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Don't mix bytes and samples.
2004-10-24 14:04:38 +00:00
Jan Schmidt
419583c9b5 ext/gdk_pixbuf/pixbufscale.c: Correct caps negotiation
Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_getcaps):
Correct caps negotiation
* gst/volume/gstvolume.c: (volume_chain_float),
(volume_chain_int16):
Modify debug output to be little more informative
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_destroy):
Add XSync calls after detaching from the shared memory segment to
avoid a crash.
2004-09-22 15:03:08 +00:00
Benjamin Otte
c5d29a1b39 compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume),
(gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute),
(gst_alsa_mixer_set_record), (gst_alsa_mixer_set_option),
(gst_alsa_mixer_get_option):
* ext/dvdnav/dvdnavsrc.c: (dvdnav_get_event_name),
(dvdnavsrc_print_event):
* ext/ogg/gstoggdemux.c: (_find_chain_process), (gst_ogg_print):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_pad_link),
(gst_ogg_mux_pad_unlink):
* gst/multipart/multipartmux.c: (gst_multipart_mux_pad_link),
(gst_multipart_mux_pad_unlink):
* gst/videofilter/gstvideobalance.c:
(gst_videobalance_colorbalance_set_value):
* gst/videomixer/videomixer.c: (gst_videomixer_pad_link),
(gst_videomixer_pad_unlink):
* po/uk.po:
* sys/oss/gstossmixer.c:
* sys/v4l/gstv4lcolorbalance.c:
* sys/v4l/gstv4ltuner.c:
* sys/v4l/v4lsrc_calls.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2tuner.c:
compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
2004-08-03 16:06:09 +00:00
Ronald S. Bultje
fe3d02a6ca gst-libs/gst/riff/riff-media.c: mp42/mp43 (no caps) exist too.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
mp42/mp43 (no caps) exist too.
* gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps):
Set pixel_width/height; we've got them in-caps.
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
* gst/wavparse/gstwavparse.c: (plugin_init):
Both are valid primary.
* sys/oss/gstossmixer.c:
Remove i18n hack and enable translations.
2004-07-15 23:56:05 +00:00
Wim Taymans
f68667a5e5 sys/oss/: Fix offset on osssrc.
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_reset),
(gst_osselement_parse_caps):
* sys/oss/gstosselement.h:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Fix offset on osssrc.
2004-07-07 16:11:39 +00:00
David Schleef
13dd7366cd gst/wavenc/gstwavenc.c: Switch to GST_WRITE_UINT32_LE macros (bug #144624)
Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_setup),
(gst_wavenc_stop_file): Switch to GST_WRITE_UINT32_LE macros
(bug #144624)
* sys/oss/gstosselement.c: (gst_osselement_probe_caps),
(gst_osselement_rate_probe_check): Add another workaround for
buggy drivers (bug #145336)
2004-07-03 02:54:53 +00:00
Benjamin Otte
624814ddda sys/oss/: advertise correct template caps - we indeed do non-native endianness and 8bit audio has no endianness
Original commit message from CVS:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
advertise correct template caps - we indeed do non-native endianness
and 8bit audio has no endianness
* sys/ximage/ximagesink.c: (gst_ximagesink_getcaps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_getcaps):
avoid (wrong) duplications in getcaps function and return
template caps
2004-06-29 11:20:25 +00:00
Wim Taymans
dfcce47075 sys/oss/gstosssrc.c: Timestamp fixes.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Timestamp fixes.
2004-06-16 10:48:04 +00:00
Stéphane Loeuillet
ef2468c353 configure.ac: OSS portability
Original commit message from CVS:
* configure.ac: OSS portability
* ext/arts/gst_arts.c: idem
* sys/oss/gstosselement.c: idem
* sys/oss/gstossmixer.c: idem
* sys/oss/gstosssink.c: idem
* sys/oss/gstosssrc.c: idem
* sys/oss/oss_probe.c: idem
- check for soundcard.h in different places for some BSD
2004-06-07 13:40:08 +00:00
Ronald S. Bultje
45b9c25415 gst/qtdemux/qtdemux.*: Bitch. Also known as seeking, querying & co.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event),
(gst_qtdemux_handle_sink_event), (gst_qtdemux_change_state),
(gst_qtdemux_loop_header), (qtdemux_dump_mvhd),
(qtdemux_parse_trak):
* gst/qtdemux/qtdemux.h:
Bitch. Also known as seeking, querying & co.
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
* sys/oss/gstosssink.h:
Resyncing is for weenies, this hack is no longer needed and was
broken anyway (since it - unintendedly - always leaves resync to
TRUE).
2004-06-05 18:50:48 +00:00
Ronald S. Bultje
4fffc6928f ext/alsa/: Add enumerations (as GstMixerOptions). Make correct distinction between input/output tracks. Add capture/p...
Original commit message from CVS:
* ext/alsa/Makefile.am:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_interface_init),
(gst_alsa_mixer_build_list), (gst_alsa_mixer_get_volume),
(gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute),
(gst_alsa_mixer_set_record), (gst_alsa_mixer_set_option),
(gst_alsa_mixer_get_option):
* ext/alsa/gstalsamixer.h:
* ext/alsa/gstalsamixeroptions.c:
(gst_alsa_mixer_options_get_type),
(gst_alsa_mixer_options_class_init), (gst_alsa_mixer_options_init),
(gst_alsa_mixer_options_new):
* ext/alsa/gstalsamixeroptions.h:
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
Add enumerations (as GstMixerOptions). Make correct distinction
between input/output tracks. Add capture/playback private flag.
Use flag to decide on whether to set capture or playback volumes
or switches. Use playback and record switches.
* gst-libs/gst/mixer/Makefile.am:
* gst-libs/gst/mixer/mixer-marshal.list:
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init),
(gst_mixer_set_option), (gst_mixer_get_option),
(gst_mixer_mute_toggled), (gst_mixer_record_toggled),
(gst_mixer_volume_changed), (gst_mixer_option_changed):
* gst-libs/gst/mixer/mixer.h:
* gst-libs/gst/mixer/mixeroptions.c: (gst_mixer_options_get_type),
(gst_mixer_options_class_init), (gst_mixer_options_init),
(gst_mixer_options_dispose):
* gst-libs/gst/mixer/mixeroptions.h:
Add GstMixerOptions.
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Rename Audio Mixer to OSS Mixer (similar to Alsa Mixer). Fix
broken device detection on computers with multiple OSS sound
cards.
2004-05-27 03:36:17 +00:00
Stéphane Loeuillet
f5876c0e87 fourth batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in ...
Original commit message from CVS:
fourth batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
(in gst-plugins/sys/ this time)
2004-05-21 23:53:07 +00:00
Benjamin Otte
358144abaa sys/oss/gstosselement.c: remove leftover debugging g_print
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms):
remove leftover debugging g_print
2004-05-18 01:17:49 +00:00