dvbd / src / tune.h @ a24dbbce
History | View | Annotate | Download (685 Bytes)
1 |
#ifndef _TUNE_H
|
---|---|
2 |
#define _TUNE_H
|
3 |
|
4 |
#include <linux/dvb/frontend.h> |
5 |
#include <linux/dvb/version.h> |
6 |
|
7 |
#include "dvb_defaults.h" |
8 |
|
9 |
#undef DVB_ATSC
|
10 |
#if defined(DVB_API_VERSION_MINOR)
|
11 |
#if DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1 |
12 |
#define DVB_ATSC 1 |
13 |
#endif
|
14 |
#endif
|
15 |
|
16 |
|
17 |
#ifdef __cplusplus
|
18 |
extern "C" { |
19 |
#endif
|
20 |
|
21 |
int tune_it(int fd_frontend, unsigned int freq, unsigned int srate, char pol, int tone, fe_spectral_inversion_t specInv, unsigned char diseqc,fe_modulation_t modulation,fe_code_rate_t HP_CodeRate,fe_transmit_mode_t TransmissionMode,fe_guard_interval_t guardInterval, fe_bandwidth_t bandwidth, fe_code_rate_t LP_CodeRate, fe_hierarchy_t hier); |
22 |
|
23 |
#ifdef __cplusplus
|
24 |
} |
25 |
#endif
|
26 |
|
27 |
#endif
|