annotate stream/stream_radio.h @ 23481:7fe2f7fa524f

Mention change to libamr in Changelog
author reimar
date Thu, 07 Jun 2007 21:20:44 +0000
parents c549c2de24ce
children 3f0d00abc073
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19568
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
1 #ifndef _H_STREAM_RADIO_
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
2 #define _H_STREAM_RADIO_
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 #ifdef USE_RADIO
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
5 #define RADIO_CHANNEL_LOWER 1
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
6 #define RADIO_CHANNEL_HIGHER 2
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
7
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
8 extern char *radio_param_device;
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
9 extern char *radio_param_driver;
20985
20110e4437c6 Add *BSD BT848 radio support
voroshil
parents: 20968
diff changeset
10 #ifdef RADIO_BSDBT848_HDR
20110e4437c6 Add *BSD BT848 radio support
voroshil
parents: 20968
diff changeset
11 extern float radio_param_freq_min;
20110e4437c6 Add *BSD BT848 radio support
voroshil
parents: 20968
diff changeset
12 extern float radio_param_freq_max;
20110e4437c6 Add *BSD BT848 radio support
voroshil
parents: 20968
diff changeset
13 #endif
19568
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
14 extern char **radio_param_channels;
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
15 extern int radio_param_volume;
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
16 extern char* radio_param_adevice;
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
17 extern int radio_param_arate;
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
18 extern int radio_param_achannels;
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
19
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
20 int radio_set_freq(struct stream_st *stream, float freq);
20968
1e6ebb9e49eb add public wrapper for get_frequency
voroshil
parents: 19568
diff changeset
21 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
22 char* radio_get_channel_name(struct stream_st *stream);
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
23 int radio_set_channel(struct stream_st *stream, char *channel);
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
24 int radio_step_channel(struct stream_st *stream, int direction);
21042
c549c2de24ce new slave command: radio_step_freq
voroshil
parents: 20985
diff changeset
25 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
26
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
27 #endif
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
28
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents:
diff changeset
29 #endif