summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossmixer.c
Commit message (Collapse)AuthorAgeFilesLines
* sys/oss/: Small cleanups. Better error reporting.Wim Taymans2006-08-161-19/+33
| | | | | | | | | | | | | | Original commit message from CVS: * sys/oss/gstossmixer.c: (gst_ossmixer_open), (gst_ossmixer_new): * sys/oss/gstossmixerelement.c: (gst_oss_mixer_element_class_init), (gst_oss_mixer_element_init), (gst_oss_mixer_element_set_property), (gst_oss_mixer_element_get_property), (gst_oss_mixer_element_change_state): * sys/oss/gstossmixerelement.h: Small cleanups. Better error reporting. Add device property for the mixer instead of the hardcoded /dev/mixer. Fixes #350785. API: GstOssMixerElement::device property
* configure.ac: Update comment in OSS includes check.Tim-Philipp Müller2005-12-101-1/+14
| | | | | | | | | | | | | | | | | 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).
* sys/oss/: Actually use the 'oss' debug category we register.Tim-Philipp Müller2005-10-261-0/+3
| | | | | | | | | | | | | 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.
* sys/oss/gstossmixerelement.*: Added mixer element like alsamixer.Andy Wingo2005-08-231-0/+1
| | | | | | | | | | | | 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.
* sys/oss/gstossmixer.*: Refactored to be more like alsamixer.Andy Wingo2005-08-231-326/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* sys/oss/: Port from THREADED+wim's fixes.Andy Wingo2005-07-081-34/+24
| | | | | | | Original commit message from CVS: 2005-07-08 Andy Wingo <wingo@pobox.com> * sys/oss/: Port from THREADED+wim's fixes.
* updates to make this closer to compileChristian Schaller2005-05-051-3/+2
| | | | | Original commit message from CVS: updates to make this closer to compile
* compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friendsBenjamin Otte2004-08-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* gst-libs/gst/riff/riff-media.c: mp42/mp43 (no caps) exist too.Ronald S. Bultje2004-07-151-3/+3
| | | | | | | | | | | | | | 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.
* configure.ac: OSS portabilityStéphane Loeuillet2004-06-071-0/+13
| | | | | | | | | | | | 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
* don't mix tabs and spacesThomas Vander Stichele2004-03-151-46/+73
| | | | | Original commit message from CVS: don't mix tabs and spaces
* gst-indentThomas Vander Stichele2004-03-141-109/+98
| | | | | Original commit message from CVS: gst-indent
* ext/alsa/gstalsamixer.c: Setting mixer interface type to HARDWARE.Julien Moutte2004-01-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-01-15 Julien MOUTTE <julien@moutte.net> * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_interface_init): Setting mixer interface type to HARDWARE. * gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init): Adding a default type to SOFTWARE. * gst-libs/gst/mixer/mixer.h: Adding mixer interface type and macro. * gst-libs/gst/mixer/mixertrack.h: Adding mixertrack flag SOFTWARE. * gst/volume/gstvolume.c: (gst_volume_interface_supported), (gst_volume_interface_init), (gst_volume_list_tracks), (gst_volume_set_volume), (gst_volume_get_volume), (gst_volume_set_mute), (gst_volume_mixer_init), (gst_volume_dispose), (gst_volume_get_type), (volume_class_init), (volume_init): Implementing mixer interface. * gst/volume/gstvolume.h: Adding tracklist for mixer interface. * sys/oss/gstosselement.c: (gst_osselement_get_type), (gst_osselement_change_state): Removing some trailing commas in structures. * sys/oss/gstossmixer.c: (gst_ossmixer_interface_init): Setting mixer interface type to HARDWARE. * sys/v4l/gstv4lcolorbalance.c: (gst_v4l_color_balance_interface_init): Setting colorbalance interface type to HARDWARE. * sys/v4l2/gstv4l2colorbalance.c: (gst_v4l2_color_balance_interface_init): Setting colorbalance interface type to HARDWARE. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): use exactly the same code than ximagesink for event handling.
* ext/shout/gstshout.c: fix for new caps system.Ronald S. Bultje2004-01-061-2/+13
| | | | | | | | | | | | | Original commit message from CVS: 2004-01-06 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/shout/gstshout.c: (gst_icecastsend_base_init), (gst_icecastsend_init): fix for new caps system. * gst-libs/gst/mixer/mixertrack.h: * sys/oss/gstossmixer.c: (gst_ossmixer_build_list): Add 'master track' flag (for tools like ACME that only want to change the main volume).
* Er, right, this is a typoRonald S. Bultje2003-12-161-1/+1
| | | | | Original commit message from CVS: Er, right, this is a typo
* Move over from GstInterface to GstImplementsInterface. Also adds some ↵Ronald S. Bultje2003-12-071-4/+4
| | | | | | | signals to several interfaces Original commit message from CVS: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces
* Fix for if SOUND_MIXER_INFO is not available (fBSD and others)Ronald S. Bultje2003-11-131-0/+6
| | | | | Original commit message from CVS: Fix for if SOUND_MIXER_INFO is not available (fBSD and others)
* Don't change mixer if there's nothing to change. This caused a bug if the ↵Ronald S. Bultje2003-11-091-0/+5
| | | | | | | soundcard only supports one input and I cal... Original commit message from CVS: Don't change mixer if there's nothing to change. This caused a bug if the soundcard only supports one input and I call this function with rec=TRUE twice.
* Set labels on mixer manually. This allows clearer names and - in the future ↵Ronald S. Bultje2003-10-141-9/+79
| | | | | | | - i18n Original commit message from CVS: Set labels on mixer manually. This allows clearer names and - in the future - i18n
* Make GstMixerTrack a GObject. I also want to make it emit several signals, ↵Ronald S. Bultje2003-10-101-50/+136
| | | | | | | starting work is in here but it's not full... Original commit message from CVS: Make GstMixerTrack a GObject. I also want to make it emit several signals, starting work is in here but it's not fully implemented yet. for OSS, this will cause issues, but for ALSA, this is all automated.
* changing 'channel' to 'track' to avoid naming overlapLeif Johnson2003-10-091-96/+95
| | | | | Original commit message from CVS: changing 'channel' to 'track' to avoid naming overlap
* Make interface hack work with multiple interfaces per elementRonald S. Bultje2003-09-131-2/+6
| | | | | Original commit message from CVS: Make interface hack work with multiple interfaces per element
* Copyright fix (code=mine)Ronald S. Bultje2003-09-131-3/+2
| | | | | Original commit message from CVS: Copyright fix (code=mine)
* Interface implementation example: OSS mixer. Also osscommon->osselement so ↵Ronald S. Bultje2003-09-131-0/+323
it can be loaded without being a source/si... Original commit message from CVS: Interface implementation example: OSS mixer. Also osscommon->osselement so it can be loaded without being a source/sink (for a stand-alone mixer)