forked from len0rd/rockbox
FM tuner region code cleanup - FS #11492 by me.
This removes the tuner-specific region structs and makes each driver use the common one (which is now extended with a deemphasis field) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27579 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6087d89603
commit
adc472bec5
14 changed files with 53 additions and 162 deletions
|
|
@ -48,19 +48,6 @@ extern void rmt_tuner_signal_power(unsigned char value);
|
|||
|
||||
extern void rmt_tuner_rds_data(void);
|
||||
|
||||
struct rmt_tuner_region_data
|
||||
{
|
||||
/* 0: 50us, 1: 75us */
|
||||
unsigned char deemphasis;
|
||||
/* 0: europe, 1: japan (BL in TEA spec)*/
|
||||
unsigned char band;
|
||||
/* 0: us/australia (200kHz), 1: europe/japan (100kHz), 2: (50kHz) */
|
||||
unsigned char spacing;
|
||||
} __attribute__((packed));
|
||||
|
||||
extern const struct rmt_tuner_region_data
|
||||
rmt_tuner_region_data[TUNER_NUM_REGIONS];
|
||||
|
||||
int ipod_rmt_tuner_set(int setting, int value);
|
||||
int ipod_rmt_tuner_get(int setting);
|
||||
char* ipod_get_rds_info(int setting);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue