view stream/stream_radio.h @ 20769:c2c578148d71

r20774: Adding ability to check allowed frequency range. r20775: Spelling fix: Allowable -> Allowed r20780: MSGTRs for ao_alsa.c r20781: MSGTRs for libvo/aspect.c and libvo/vo_xv.c r20782: remove duplicate MSGTR r20783: 11l, revert r20782 typo fixed
author voroshil
date Wed, 08 Nov 2006 17:36:49 +0000
parents bd821fd3e244
children 1e6ebb9e49eb
line wrap: on
line source

#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;
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);
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);

#endif

#endif