2006-08-28 17:05:18 +00:00
|
|
|
#ifndef _H_STREAM_RADIO_
|
|
|
|
#define _H_STREAM_RADIO_
|
|
|
|
|
|
|
|
#ifdef USE_RADIO
|
|
|
|
#define RADIO_CHANNEL_LOWER 1
|
|
|
|
#define RADIO_CHANNEL_HIGHER 2
|
|
|
|
|
|
|
|
extern char *radio_param_device;
|
|
|
|
extern char *radio_param_driver;
|
2006-11-18 06:53:33 +00:00
|
|
|
#ifdef RADIO_BSDBT848_HDR
|
|
|
|
extern float radio_param_freq_min;
|
|
|
|
extern float radio_param_freq_max;
|
|
|
|
#endif
|
2006-08-28 17:05:18 +00:00
|
|
|
extern char **radio_param_channels;
|
|
|
|
extern int radio_param_volume;
|
|
|
|
extern char* radio_param_adevice;
|
|
|
|
extern int radio_param_arate;
|
|
|
|
extern int radio_param_achannels;
|
|
|
|
|
|
|
|
int radio_set_freq(struct stream_st *stream, float freq);
|
2006-11-17 14:36:13 +00:00
|
|
|
int radio_get_freq(struct stream_st *stream, float* freq);
|
2006-08-28 17:05:18 +00:00
|
|
|
char* radio_get_channel_name(struct stream_st *stream);
|
|
|
|
int radio_set_channel(struct stream_st *stream, char *channel);
|
|
|
|
int radio_step_channel(struct stream_st *stream, int direction);
|
2006-11-19 16:15:05 +00:00
|
|
|
int radio_step_freq(struct stream_st *stream, float step_interval);
|
2006-08-28 17:05:18 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|