Commit graph

16 commits

Author SHA1 Message Date
Jens Granseuer
ebb2630851 properly round volumess so that volume-up and volume-down act
2007-02-14  Jens Granseuer  <jensgr@gmx.net>

	* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_set_mute),
	(acme_volume_gstreamer_get_volume),
	(acme_volume_gstreamer_set_volume): properly round volumess so that
	volume-up and volume-down act symmetrically, ie. lowering and raising
	volume will end up at the original level (fixes bug #389996)

svn path=/trunk/; revision=7294
2007-02-14 17:17:59 +00:00
Jens Granseuer
39ed90d6f3 round volume instead of truncating on unmute so a simple mute/unmute
2007-02-02  Jens Granseuer  <jensgr@gmx.net>

	* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_set_mute): round volume instead of
	truncating on unmute so a simple mute/unmute doesn't lower the
	volume (fixes bug #400966)

svn path=/trunk/; revision=7223
2007-02-01 22:53:22 +00:00
Jens Granseuer
5332e54d66 initialize 'vol' variable to prevent crashes/assertion failures trying to
2007-01-30  Jens Granseuer  <jensgr@gmx.net>
                                           
        * actions/acme-volume-gstreamer.c: (update_state): initialize 'vol'
        variable to prevent crashes/assertion failures trying to set
        ridiculously high/low volume (fixes bug #401376)

svn path=/trunk/; revision=7207
2007-01-30 17:26:39 +00:00
Jan Arne Petersen
a196720a15 Fixes #395083
2007-01-10  Jan Arne Petersen  <jpetersen@jpetersen.org>

	Fixes #395083

	* actions/acme-volume-gstreamer.c: (acme_volume_gstreamer_open): added
	missing NULL-check.


svn path=/trunk/; revision=7128
2007-01-10 17:33:07 +00:00
Jan Arne Petersen
90b67faf65 Fixes #173035
2007-01-08  Jan Arne Petersen  <jpetersen@jpetersen.org>

	Fixes #173035

	* configure.in: updated sound capplet requirements.

	* gnome-settings-daemon/actions/Makefile.am:
	* gnome-settings-daemon/actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_finalize), (acme_volume_gstreamer_set_mute),
	(update_state), (acme_volume_gstreamer_get_mute),
	(acme_volume_gstreamer_get_volume),
	(acme_volume_gstreamer_set_volume),
	(acme_volume_gstreamer_close_real), (_acme_set_mixer),
	(acme_volume_gstreamer_open), (acme_volume_gstreamer_init): added
	support for multiple mixer tracks. Added support for gconf device and
	track selection.

	* capplets/sound/Makefile.am, mixer-support.c, mixer-support.h: Add new files.
	* capplets/sound/sound-properties-capplet.c: (mixer_device_combobox_changed),
	(add_track_label_to_list), (mixer_tracks_selection_changed),
	(update_mixer_tracks_selection), (default_mixer_tracks_notify),
	(update_mixer_device_combobox), (default_mixer_device_notify),
	(setup_default_mixer), (setup_dialog):
	* capplets/sound/sound-properties.glade: added support for selecting mixer device and
	tracks in the capplet.


svn path=/trunk/; revision=7113
2007-01-08 22:50:39 +00:00
Joe Marcus Clarke
71339b526e Fixes #338849
2006-04-28  Joe Marcus Clarke <marcusi@freebsd.org>

	Fixes #338849

	* actions/acme-volume-gstreamer.c: added missing header to avoid
	64bit crash on missing prototype.
2006-04-28 10:34:16 +00:00
Jens Granseuer
6a122e312a Fixes #331168
2006-02-15  Jens Granseuer <jensgr@gmx.net>

	Fixes #331168

	* acme-volume-gstreamer.c (acme_volume_gstreamer_open): C89 compilation
	fixes.
2006-02-15 14:20:38 +00:00
Sebastien Bacher
95ceaa7ea5 optional use of gstreamer0.10, patch based on the work
done by Saleem Abdulrasool and Tim-Philipp Müller (Fixes: #326257)
2006-01-15 21:56:50 +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
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
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
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
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
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