1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 18:06:18 +00:00
mpv/stream/stream_radio.h
reimar acf654cf8f Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19574 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-28 17:05:18 +00:00

24 lines
621 B
C

#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