Oops.
[Rockbox.git] / apps / recorder / radio.h
blobc456d3a6a3e70b5ccd11f03845bbdc2a812387b7
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2003 Linus Nielsen Feltzing
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef RADIO_H
20 #define RADIO_H
22 #ifndef FMRADIO_H
23 #include "fmradio.h"
24 #endif
26 #if CONFIG_TUNER
27 void radio_load_presets(char *filename);
28 void radio_init(void);
29 int radio_screen(void);
30 void radio_start(void);
31 void radio_pause(void);
32 void radio_stop(void);
33 bool radio_hardware_present(void);
34 bool in_radio_screen(void);
35 /* callbacks for the radio settings */
36 void set_radio_region(int region);
37 void toggle_mono_mode(bool mono);
39 #define MAX_FMPRESET_LEN 27
41 struct fmstation
43 int frequency; /* In Hz */
44 char name[MAX_FMPRESET_LEN+1];
47 #endif /* CONFIG_TUNER */
49 #endif /* RADIO_H */