wmmoonclock: add autogen.
[dockapps.git] / wmix / include / mixer-alsa.h
blob263fb47e3b4f40ed49e8e5333265df358b8b1007
1 /* WMix 3.0 -- a mixer using the OSS mixer API.
2 * Copyright (C) 2000, 2001
3 * Daniel Richard G. <skunk@mit.edu>,
4 * timecop <timecop@japan.co.jp>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * 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, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 void mixer_alsa_init(const char *mixer_oss_device,
22 bool verbose,
23 const char *exclude[]);
24 bool mixer_alsa_is_changed(void);
25 int mixer_alsa_get_channel_count(void);
26 int mixer_alsa_get_channel(void);
27 const char *mixer_alsa_get_channel_name(void);
28 const char *mixer_alsa_get_short_name(void);
29 void mixer_alsa_set_channel(int channel);
30 void mixer_alsa_set_channel_rel(int delta_channel);
31 float mixer_alsa_get_volume(void);
32 void mixer_alsa_set_volume(float volume);
33 void mixer_alsa_set_volume_rel(float delta_volume);
34 float mixer_alsa_get_balance(void);
35 void mixer_alsa_set_balance(float balance);
36 void mixer_alsa_set_balance_rel(float delta_balance);
37 void mixer_alsa_toggle_mute(void);
38 void mixer_alsa_toggle_rec(void);
39 bool mixer_alsa_is_muted(void);
40 bool mixer_alsa_is_stereo(void);
41 bool mixer_alsa_is_rec(void);
42 bool mixer_alsa_can_rec (void);
43 void mixer_alsa_tick(void);