gnome-control-center/capplets/sound/mixer-support.h
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

47 lines
1.3 KiB
C

/* mixer-support.h
*
* Copyright (C) 2007 Jan Arne Petersen <jap@gnome.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
#ifndef __GNOME_SETTINGS_MIXER_SUPPORT__
#define __GNOME_SETTINGS_MIXER_SUPPORT__
#include <gtk/gtktreemodel.h>
#include <gst/interfaces/mixer.h>
G_BEGIN_DECLS
enum {
MIXER_DEVICE_MODEL_NAME_COLUMN,
MIXER_DEVICE_MODEL_DEVICE_COLUMN,
MIXER_DEVICE_MODEL_MIXER_COLUMN,
MIXER_DEVICE_MODEL_COLUMN_COUNT
};
enum {
MIXER_TRACKS_MODEL_LABEL_COLUMN,
MIXER_TRACKS_MODEL_COLUMN_COUNT
};
GtkTreeModel *create_mixer_device_tree_model (void);
GtkTreeModel *create_mixer_tracks_tree_model_for_mixer (GstMixer *mixer);
G_END_DECLS
#endif