view stream/stream_radio.h @ 23842:9cd0d6ae322d

Fix configure regexp for enabling FFmpeg features All features were disabled because of a regexp that used "[^ ]" to match start of a word. '^' is not a metacharacter meaning beginning of line inside [], instead it inverts the matching condition of the other characters in the list. Changed to use "\<" and "\>" for start/end of word instead. I don't know how standard those are, at least they're better than the previous version.
author uau
date Wed, 25 Jul 2007 19:02:29 +0000
parents 2232dac31fdb
children 4587edae1790
line wrap: on
line source

#ifndef STREAM_RADIO_H
#define STREAM_RADIO_H

#define RADIO_CHANNEL_LOWER 1
#define RADIO_CHANNEL_HIGHER 2

extern char *radio_param_device;
extern char *radio_param_driver;
#ifdef RADIO_BSDBT848_HDR
extern float radio_param_freq_min;
extern float radio_param_freq_max;
#endif
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);
int radio_get_freq(struct stream_st *stream, float* freq);
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);
int radio_step_freq(struct stream_st *stream, float step_interval);

#endif