Commit graph

3 commits

Author SHA1 Message Date
Sebastian Dröge
8b65d9d182 ext/hal/: Having NULL as UDI previously selected the default sink/src. Change this back but mention it in the debug o...
Original commit message from CVS:
* ext/hal/gsthalaudiosink.c: (do_toggle_element):
* ext/hal/gsthalaudiosrc.c: (do_toggle_element):
Having NULL as UDI previously selected the default sink/src. Change
this back but mention it in the debug output.
* ext/hal/hal.c: (gst_hal_get_alsa_element),
(gst_hal_get_oss_element), (gst_hal_get_string),
(gst_hal_render_bin_from_udi), (gst_hal_get_audio_sink),
(gst_hal_get_audio_src):
* ext/hal/hal.h:
Refactor a bit, check all error conditions, greatly improve debugging
and fix some possible memory leaks. Also implement OSS support
and allow specifying an UDI that points to a real device. For this the
child device which supports ALSA (preferred) or OSS is used.
As a side effect this makes it impossible now to get a alsasink in
halaudiosrc and a alsasrc in halaudiosink.
2007-03-01 21:50:36 +00:00
Tim-Philipp Müller
784a4689e0 ext/hal/hal.*: Some small cleanups; deal with errors when parsing the HAL ALSA capabilities a bit better.
Original commit message from CVS:
* ext/hal/hal.c: (gst_hal_get_string):
* ext/hal/hal.h:
Some small cleanups; deal with errors when parsing the HAL ALSA
capabilities a bit better.
2007-02-07 13:08:34 +00:00
Wim Taymans
5e5386b430 Add HAL sound device wrapper plugins. Closes #329106
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* ext/Makefile.am:
* ext/hal/Makefile.am:
* ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init),
(gst_hal_audio_sink_class_init), (gst_hal_audio_sink_reset),
(gst_hal_audio_sink_init), (gst_hal_audio_sink_dispose),
(do_toggle_element), (gst_hal_audio_sink_set_property),
(gst_hal_audio_sink_get_property),
(gst_hal_audio_sink_change_state):
* ext/hal/gsthalaudiosink.h:
* ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init),
(gst_hal_audio_src_class_init), (gst_hal_audio_src_reset),
(gst_hal_audio_src_init), (gst_hal_audio_src_dispose),
(do_toggle_element), (gst_hal_audio_src_set_property),
(gst_hal_audio_src_get_property), (gst_hal_audio_src_change_state):
* ext/hal/gsthalaudiosrc.h:
* ext/hal/gsthalelements.c: (plugin_init):
* ext/hal/gsthalelements.h:
* ext/hal/hal.c: (gst_hal_get_string),
(gst_hal_render_bin_from_udi), (gst_hal_get_audio_sink),
(gst_hal_get_audio_src):
* ext/hal/hal.h:
Add HAL sound device wrapper plugins. Closes #329106
2006-02-15 12:17:28 +00:00