Commit graph

5 commits

Author SHA1 Message Date
Wim Taymans
9356b9df10 apexsink: change volume property to a double
Change the volume property from int to a double so that playbin2 can use it.
Keep the volume internally as a percent for now with the default 75% mapped to
a volume of 1.0.
some cleanups, add some FIXME and comments.

Fixes #606878
2010-01-14 12:49:39 +01:00
Tim-Philipp Müller
6eb167a176 Make build without warnings with debugging disabled 2009-06-19 16:21:28 +01:00
Jan Schmidt
10e4d6c74d apexsink: Fix compiler warnings
Fix compile warnings on solaris from bzero not being declared (use
memset instead), and strict-aliasing warnings (use a temporary
variable).
2009-06-06 13:17:49 +01:00
Jan Schmidt
4dc1e6fb4f ext/apexsink/gstapexsink.c: Fix some more format string compiler warnings (from OS/X)
Original commit message from CVS:
* ext/apexsink/gstapexsink.c:
Fix some more format string compiler warnings (from OS/X)
2008-10-14 14:53:41 +00:00
Jérémie Bernard
a72dc6992e Add apexsink for audio output to Apple AirPort Express Wireless devices. Fixes bug #542510.
Original commit message from CVS:
Patch by: Jérémie Bernard <gremimail at gmail dot com>
* configure.ac:
* ext/apexsink/LGPL-3.0.txt:
* ext/apexsink/Makefile.am:
* ext/apexsink/gstapexplugin.c: (plugin_init):
* ext/apexsink/gstapexraop.c: (g_strdel), (gst_apexraop_send),
(gst_apexraop_recv), (gst_apexraop_new), (gst_apexraop_free),
(gst_apexraop_set_host), (gst_apexraop_get_host),
(gst_apexraop_set_port), (gst_apexraop_get_port),
(gst_apexraop_set_useragent), (gst_apexraop_get_useragent),
(gst_apexraop_connect), (gst_apexraop_get_jacktype),
(gst_apexraop_get_jackstatus), (gst_apexraop_close),
(gst_apexraop_set_volume), (gst_apexraop_write_bits),
(gst_apexraop_write), (gst_apexraop_flush):
* ext/apexsink/gstapexraop.h:
* ext/apexsink/gstapexsink.c: (gst_apexsink_jackstatus_get_type),
(gst_apexsink_jacktype_get_type), (gst_apexsink_interfaces_init),
(gst_apexsink_implements_interface_init),
(gst_apexsink_mixer_interface_init),
(gst_apexsink_interface_supported),
(gst_apexsink_mixer_list_tracks), (gst_apexsink_mixer_set_volume),
(gst_apexsink_mixer_get_volume), (gst_apexsink_base_init),
(gst_apexsink_class_init), (gst_apexsink_init),
(gst_apexsink_set_property), (gst_apexsink_get_property),
(gst_apexsink_finalise), (gst_apexsink_open),
(gst_apexsink_prepare), (gst_apexsink_write),
(gst_apexsink_unprepare), (gst_apexsink_delay),
(gst_apexsink_reset), (gst_apexsink_close):
* ext/apexsink/gstapexsink.h:
Add apexsink for audio output to Apple AirPort Express Wireless
devices. Fixes bug #542510.
2008-08-28 17:01:30 +00:00