1 #ifndef _H_STREAM_RADIO_
2 #define _H_STREAM_RADIO_
5 #define RADIO_CHANNEL_LOWER 1
6 #define RADIO_CHANNEL_HIGHER 2
8 extern char *radio_param_device
;
9 extern char *radio_param_driver
;
10 #ifdef RADIO_BSDBT848_HDR
11 extern float radio_param_freq_min
;
12 extern float radio_param_freq_max
;
14 extern char **radio_param_channels
;
15 extern int radio_param_volume
;
16 extern char* radio_param_adevice
;
17 extern int radio_param_arate
;
18 extern int radio_param_achannels
;
20 int radio_set_freq(struct stream_st
*stream
, float freq
);
21 int radio_get_freq(struct stream_st
*stream
, float* freq
);
22 char* radio_get_channel_name(struct stream_st
*stream
);
23 int radio_set_channel(struct stream_st
*stream
, char *channel
);
24 int radio_step_channel(struct stream_st
*stream
, int direction
);
25 int radio_step_freq(struct stream_st
*stream
, float step_interval
);