Commit graph

23 commits

Author SHA1 Message Date
Sebastien Bacher
7b57ffb538 fix the build without gstreamer and with alsa, patch by Paul Drain
2005-08-03  Sebastien Bacher  <seb128@debian.org>

        * actions/Makefile.am: fix the build without gstreamer and with alsa,
        patch by Paul Drain <pd@cipherfunk.org> (Closes: #307368).
2005-08-03 16:38:27 +00:00
Christophe Fergeau
fc8728e747 fix crash when trying to change volume using the multimedia keys, fixes
2005-06-12  Christophe Fergeau  <teuf@gnome.org>

	* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_get_volume): fix crash when trying to change
	volume using the multimedia keys, fixes #307351
2005-06-12 11:43:01 +00:00
Ronald Bultje
6ce4e37a4f Fix mute handling, particularly for devices without hardware mute support
* actions/Makefile.am:
* actions/acme-volume-gstreamer.c:
(acme_volume_gstreamer_set_mute), (update_state),
(acme_volume_gstreamer_get_mute),
(acme_volume_gstreamer_get_volume),
(acme_volume_gstreamer_set_volume):
Fix mute handling, particularly for devices without hardware
mute support or with applications that use volume=0 for mute.
Also fix the fact that we linked against all of ALSA, OSS and
GStreamer if they were all available; default to GStreamer.
Fixes #306036.
2005-06-05 13:04:26 +00:00
Bastien Nocera
4a6eb07d1d mute properly when the system has hardware mute, patch from Pierre Ossman
2004-12-16  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume-alsa.c: (acme_volume_alsa_set_mute): mute
	properly when the system has hardware mute, patch from Pierre Ossman
	<drzeus-bugzilla@drzeus.cx> (Closes: #144489)
2004-12-16 12:27:52 +00:00
Sebastien Bacher
a76902382e 2004-11-30 Sebastien Bacher <seb128@debian.org>
* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_finalize), (acme_volume_gstreamer_set_mute),
	(acme_volume_gstreamer_get_mute),
	(acme_volume_gstreamer_get_volume),
	(acme_volume_gstreamer_set_volume),
	(acme_volume_gstreamer_close_real), (acme_volume_gstreamer_open),
2004-12-09 16:53:52 +00:00
Sebastien Bacher
16e644c1ad free the alsa device, after 4 seconds, with gstreamer too. Patch from
2004-11-30  Sebastien Bacher  <seb128@debian.org>

	* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_finalize), (acme_volume_gstreamer_set_mute),
	(acme_volume_gstreamer_get_mute),
	(acme_volume_gstreamer_get_volume),
	(acme_volume_gstreamer_set_volume),
	(acme_volume_gstreamer_close_real), (acme_volume_gstreamer_open),
	(acme_volume_gstreamer_close), (acme_volume_gstreamer_init):
	free the alsa device, after 4 seconds, with gstreamer too.
	Patch from Arnaud Patard <Arnaud Patard> (Closes: #141793).
2004-11-30 16:46:38 +00:00
James Henstridge
ebd8e46d44 use GNOMELOCALEDIR.
2004-11-28  James Henstridge  <james@jamesh.id.au>

	* vfs-methods/themus/themus-properties-main.c: use GNOMELOCALEDIR.

	* vfs-methods/themus/Makefile.am: similar changes to the fontilus
	ones.

	* vfs-methods/fontilus/fontilus-context-menu.c: same here.

	* vfs-methods/fontilus/font-view.c: use GNOMELOCALEDIR rather than
	FONTILUS_LOCALEDIR in the bindtextdomain() call, to match the rest
	of gnome-control-center.

	* vfs-methods/fontilus/Makefile.am: similar schema and desktop
	file fixes.  Don't include the old mime files in the dist.

	* schemas/Makefile.am: remove .schemas files on clean, when
	installing schemas, look for them in builddir rather than srcdir.

	* gnome-settings-daemon/actions/Makefile.am: fix up build rules so
	that ALSA_CFLAGS isn't defined multiple times (use the newer
	automake += syntax).

	* control-center/Makefile.am: distribute $(icon_DATA).

	* capplets/*/Makefile.am: put the .desktop and .desktop.in files
	in CLEANFILES.  The .desktop.in.in file gets included because it
	is listed in the configure script.

	* configure.in: update configure script, and remove macro calls
	that are not needed by modern versions of Automake.

	* Makefile.am: remove intltool files on distclean.

	* autogen.sh: request Automake >= 1.7.
2004-11-28 08:14:05 +00:00
Christophe Fergeau
95f4986924 switch ALSA_LIBS and GST_LIBS order in libacme_la_LIBADD, fixes some
2004-10-08  Christophe Fergeau  <teuf@gnome.org>

	* gnome-settings-daemon/actions/Makefile.am: switch ALSA_LIBS and
	  GST_LIBS order in libacme_la_LIBADD, fixes some libtool link
	  issues on Debian.
2004-10-08 21:16:07 +00:00
Bastien Nocera
3c2c6c3b26 better way to look for the volume track (patch by Michal Bukovjan
2004-09-29  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume-gstreamer.c: (acme_volume_gstreamer_init):
	better way to look for the volume track (patch by Michal Bukovjan
	<bukovjan@mbox.dkm.cz>) (Closes: #153866)
2004-09-29 20:29:12 +00:00
Jeroen Zwartepoorte
c392d60376 Use the parent type in the G_DEFINE_TYPE macro, not its own type (fixes rh
2004-08-22  Jeroen Zwartepoorte  <jeroen@xs4all.nl>

	* actions/acme-fb-level.c: Use the parent type in the G_DEFINE_TYPE
	macro, not its own type (fixes rh #130473).
2004-08-22 12:17:03 +00:00
Bastien Nocera
3a7566628f fix a crash when there aren't any ALSA mixers (or soundcards) present on
2004-07-16  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume-alsa.c: (acme_volume_alsa_finalize),
	(acme_volume_alsa_close_real), (acme_volume_alsa_open),
	(acme_volume_alsa_init): fix a crash when there aren't any ALSA mixers
	(or soundcards) present on the system
2004-07-16 22:06:35 +00:00
Bastien Nocera
daa9f3a0f6 fix OSS detection on NetBSD, patch from Julio M. Merino Vidal
2004-07-15  Bastien Nocera  <hadess@hadess.net>

	* configure.in: fix OSS detection on NetBSD, patch from Julio M.
	Merino Vidal <jmmv@menta.net> (Closes: #145038)

2004-07-15  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume-oss.c: fix OSS compilation on NetBSD
2004-07-15 22:47:55 +00:00
Bastien Nocera
b5699a40ce rework the ALSA mixer so that: - the ALSA device isn't kept open at all
2004-07-15  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume-alsa.c: (acme_volume_alsa_finalize),
	(acme_volume_alsa_set_mute), (acme_volume_alsa_get_mute),
	(acme_volume_alsa_get_volume), (acme_volume_alsa_set_volume),
	(acme_volume_alsa_close_real), (acme_volume_alsa_open),
	(acme_volume_alsa_close), (acme_volume_alsa_init):
	rework the ALSA mixer so that:
	- the ALSA device isn't kept open at all times, only for 4 seconds
	  after the last use (Closes: #141793)
	- the hardware mute is used if it is available
	  (Closes: #141404, #144489, #140937)
	- lowering the volume doesn't move the balance to the right
	- it doesn't leak alsa-lib mixers all around
2004-07-15 22:41:06 +00:00
Bastien Nocera
626c8e98db make AcmeVolume descend of a GObject, not itself (spotted by Mariano
2004-06-18  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume.c: make AcmeVolume descend of a GObject, not
	itself (spotted by Mariano Suárez-Alvarez <mariano@gnome.org>)
2004-06-18 09:35:21 +00:00
Bastien Nocera
6be6e425ed cleanups, and warning fixes
2004-06-15  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-fb-level.c: (acme_fblevel_init):
	* actions/acme-volume-alsa.c: (acme_volume_alsa_init),
	(acme_volume_alsa_class_init):
	* actions/acme-volume-gstreamer.c: (acme_volume_gstreamer_init):
	* actions/acme-volume-oss.c: (acme_volume_oss_init),
	(acme_volume_oss_class_init):
	* actions/acme-volume.c: (acme_volume_class_init),
	(acme_volume_init): cleanups, and warning fixes

2004-06-15  Bastien Nocera  <hadess@hadess.net>

	* .cvsignore: upd
2004-06-15 15:39:36 +00:00
Thomas Vander Stichele
690c349e08 check for 0.8 of gst, not 0.7
dist gstreamer settings daemon files properly
2004-03-31 11:14:29 +00:00
Jody Goldberg
1df948d905 Release 2.6.0
2004-03-23  Jody Goldberg <jody@gnome.org>

	* Release 2.6.0
2004-03-24 02:58:55 +00:00
Bastien Nocera
c1f9cb3926 initialise GStreamer if we want to use it ;) (Patch by Christophe Fergeau
2004-03-01  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_class_init): initialise GStreamer if we
	want to use it ;) (Patch by Christophe Fergeau
	<teuf@users.sourceforge.net>) (Closes: #131316)
2004-03-01 13:38:36 +00:00
Bastien Nocera
d6b98e4435 better ALSA volume steps, using rounding up rather than normal float to
2004-02-29  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume-alsa.c: (acme_volume_alsa_get_volume),
	(acme_volume_alsa_set_volume): better ALSA volume steps, using
	rounding up rather than normal float to int casting
	(Closes: #124741)
2004-02-29 23:40:17 +00:00
Bastien Nocera
b87b234730 check for GStreamer, make it possible to disable ALSA support even if the
2004-02-25  Bastien Nocera  <hadess@hadess.net>

	* configure.in: check for GStreamer, make it possible to disable
	ALSA support even if the libraries are there

2004-02-25  Bastien Nocera  <hadess@hadess.net>

	* actions/Makefile.am:
	* actions/acme-volume-gstreamer.[ch]:
	* actions/acme-volume.c: (acme_volume_class_init),
	(acme_volume_new): add GStreamer mixer support
2004-02-25 18:00:37 +00:00
Anders Carlsson
8f243a9569 Link with ALSA_LIBS.
2004-02-15  Anders Carlsson  <andersca@gnome.org>

	* actions/Makefile.am: Link with ALSA_LIBS.
2004-02-15 18:32:53 +00:00
Bastien Nocera
a634112d99 - plenty of fixes for ACME integration 2004-01-14 00:22:55 +00:00
Jonathan Blandford
92999c9380 Merge in acme. We now have a variety of actions for the keybinding
Tue Jan 13 10:48:57 2004  Jonathan Blandford  <jrb@gnome.org>

        * gnome-settings-daemon: Merge in acme.  We now have a variety of
        actions for the keybinding capplet.
2004-01-13 15:59:09 +00:00