Android: When the backlight goes off, the RockboxFramebuffer/View isn't made invisibl...
[maemo-rb.git] / firmware / export / ipod_remote_tuner.h
blobe87b9671935631fcdf3557ef8c006cf8367afc28
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: ipod_remote_tuner.h
9 * Tuner header for the ipod remote tuner and others remote tuners
11 * Copyright (C) 2009 Laurent Gautier
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
23 #ifndef _IPOD_REMOTE_TUNER_H_
24 #define _IPOD_REMOTE_TUNER_H_
26 #define HAVE_RADIO_REGION
27 #define TIMEOUT_VALUE 20
29 extern int radio_present;
31 extern void rmt_tuner_freq(const unsigned char *serbuf);
32 extern void rmt_tuner_rds_data(const unsigned char *serbuf);
34 int ipod_rmt_tuner_set(int setting, int value);
35 int ipod_rmt_tuner_get(int setting);
36 char* ipod_get_rds_info(int setting);
39 #ifndef CONFIG_TUNER_MULTI
40 #define tuner_set ipod_rmt_tuner_set
41 #define tuner_get ipod_rmt_tuner_get
42 #define tuner_get_rds_info ipod_get_rds_info
43 #endif
45 #endif /* _IPOD_REMOTE_TUNER_H_ */