4 #define RADIO_CHANNEL_LOWER 1
5 #define RADIO_CHANNEL_HIGHER 2
7 typedef struct radio_param_s
{
8 /** name of radio device file */
10 #ifdef HAVE_RADIO_BSDBT848
11 /** minimal allowed frequency */
13 /** maximal allowed frequency */
16 /** radio driver (v4l,v4l2) */
18 /** channels list (see man page) */
20 /** initial volume for radio device */
22 /** name of audio device file to grab data from */
24 /** audio framerate (please also set -rawaudio rate
25 parameter to the same value) */
27 /** number of audio channels */
29 /** if channels parameter exist, here will be channel
30 number otherwise - frequency */
35 extern radio_param_t stream_radio_defaults
;
37 int radio_set_freq(struct stream_st
*stream
, float freq
);
38 int radio_get_freq(struct stream_st
*stream
, float* freq
);
39 char* radio_get_channel_name(struct stream_st
*stream
);
40 int radio_set_channel(struct stream_st
*stream
, char *channel
);
41 int radio_step_channel(struct stream_st
*stream
, int direction
);
42 int radio_step_freq(struct stream_st
*stream
, float step_interval
);