Mercurial > mplayer.hg
annotate stream/stream_radio.h @ 23836:6b6f4d3fbd43
small wording improvement
author | diego |
---|---|
date | Wed, 25 Jul 2007 15:19:53 +0000 |
parents | 2232dac31fdb |
children | 4587edae1790 |
rev | line source |
---|---|
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
21042
diff
changeset
|
1 #ifndef STREAM_RADIO_H |
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
21042
diff
changeset
|
2 #define STREAM_RADIO_H |
19568
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
3 |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
4 #define RADIO_CHANNEL_LOWER 1 |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
5 #define RADIO_CHANNEL_HIGHER 2 |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
6 |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
7 extern char *radio_param_device; |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
8 extern char *radio_param_driver; |
20985 | 9 #ifdef RADIO_BSDBT848_HDR |
10 extern float radio_param_freq_min; | |
11 extern float radio_param_freq_max; | |
12 #endif | |
19568
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
13 extern char **radio_param_channels; |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
14 extern int radio_param_volume; |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
15 extern char* radio_param_adevice; |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
16 extern int radio_param_arate; |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
17 extern int radio_param_achannels; |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
18 |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
19 int radio_set_freq(struct stream_st *stream, float freq); |
20968 | 20 int radio_get_freq(struct stream_st *stream, float* freq); |
19568
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
21 char* radio_get_channel_name(struct stream_st *stream); |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
22 int radio_set_channel(struct stream_st *stream, char *channel); |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
23 int radio_step_channel(struct stream_st *stream, int direction); |
21042 | 24 int radio_step_freq(struct stream_st *stream, float step_interval); |
19568
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
25 |
bd821fd3e244
Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff
changeset
|
26 #endif |