2
* This file is a part of the Cairo-Dock project
4
* Copyright : (C) see the 'copyright' file.
5
* E-mail : see the 'copyright' file.
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 3
10
* of the License, or (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
#ifndef __APPLET_MIXER__
22
#define __APPLET_MIXER__
28
void mixer_init (gchar *cCardID);
30
void mixer_stop (void);
32
GList *mixer_get_elements_list (void);
34
void mixer_get_controlled_element (void);
37
int mixer_get_mean_volume (void);
40
void mixer_set_volume (int iNewVolume);
42
gboolean mixer_is_mute (void);
44
void mixer_switch_mute (void);
47
GtkWidget *mixer_build_widget (gboolean bHorizontal);
49
void mixer_set_volume_with_no_callback (GtkWidget *pScale, int iVolume);
51
void mixer_show_hide_dialog (void);
53
gboolean mixer_check_events (gpointer data);