~blackskad/gnomeradio/dev-vol-button

2 by mfcn
Initial revision
1
/*
2
 *  This program is free software; you can redistribute it and/or modify
3
 *  it under the terms of the GNU General Public License as published by
4
 *  the Free Software Foundation; either version 2 of the License, or
5
 *  (at your option) any later version.
6
 *
7
 *  This program is distributed in the hope that it will be useful,
8
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 *  GNU Library General Public License for more details.
11
 *
12
 *  You should have received a copy of the GNU General Public License
13
 *  along with this program; if not, write to the Free Software
14
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15
 */
16
17
#ifndef _TECH_H
18
#define _TECH_H
19
20
int mixer_init(char *mixer_device, char *mixer_source);
21
22
char* mixer_get_sndcard_name(void);
23
24
char** mixer_get_rec_devices(void);
25
26
int mixer_close(void);
27
28
int mixer_set_volume(int volume);
29
30
int mixer_get_volume(void);
31
32
int mixer_set_rec_device(void);
33
34
int radio_init(char *device);
35
122 by mfcn
* src/gui.c, src/gui.h, src/prefs.c, src/prefs.h, src/tech.c,
36
int radio_is_init(void);
37
2 by mfcn
Initial revision
38
void radio_stop(void);
39
40
int radio_setfreq(float freq);
41
122 by mfcn
* src/gui.c, src/gui.h, src/prefs.c, src/prefs.h, src/tech.c,
42
int radio_check_station(float freq);
43
2 by mfcn
Initial revision
44
void radio_unmute();
45
46
void radio_mute();
47
48
int radio_getstereo();
49
50
int radio_getsignal();
51
52
#endif