Mercurial > mplayer.hg
comparison stream/stream_radio.h @ 19568:bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
author | reimar |
---|---|
date | Mon, 28 Aug 2006 17:05:18 +0000 |
parents | |
children | 1e6ebb9e49eb |
comparison
equal
deleted
inserted
replaced
19567:1a03b2c8ac28 | 19568:bd821fd3e244 |
---|---|
1 #ifndef _H_STREAM_RADIO_ | |
2 #define _H_STREAM_RADIO_ | |
3 | |
4 #ifdef USE_RADIO | |
5 #define RADIO_CHANNEL_LOWER 1 | |
6 #define RADIO_CHANNEL_HIGHER 2 | |
7 | |
8 extern char *radio_param_device; | |
9 extern char *radio_param_driver; | |
10 extern char **radio_param_channels; | |
11 extern int radio_param_volume; | |
12 extern char* radio_param_adevice; | |
13 extern int radio_param_arate; | |
14 extern int radio_param_achannels; | |
15 | |
16 int radio_set_freq(struct stream_st *stream, float freq); | |
17 char* radio_get_channel_name(struct stream_st *stream); | |
18 int radio_set_channel(struct stream_st *stream, char *channel); | |
19 int radio_step_channel(struct stream_st *stream, int direction); | |
20 | |
21 #endif | |
22 | |
23 #endif |