Statistics
| Branch: | Tag: | Revision:

dvbd / tune.h @ bfdb7446

History | View | Annotate | Download (1.04 KB)

1
#ifndef _TUNE_H
2
#define _TUNE_H
3

    
4
#ifdef NEWSTRUCT
5
  #include <linux/dvb/frontend.h>
6
#else
7

    
8
// The following defines make the "OLDSTRUCT" driver more compatible with NEWSTRUCT.
9

    
10
  #include <ost/frontend.h>
11

    
12
#define fe_status_t FrontendStatus
13
#define fe_spectral_inversion_t SpectralInversion
14
#define fe_modulation_t Modulation
15
#define fe_code_rate_t CodeRate
16
#define fe_transmit_mode_t TransmitMode
17
#define fe_guard_interval_t GuardInterval
18
#define fe_bandwidth_t BandWidth
19
#define fe_sec_voltage_t SecVoltage
20
#define dmx_pes_filter_params dmxPesFilterParams
21
#define dmx_sct_filter_params dmxSctFilterParams
22
#define dmx_pes_type_t dmxPesType_t
23
#endif
24

    
25
#include "dvb_defaults.h"
26

    
27
#ifdef __cplusplus
28
extern "C" {
29
#endif
30

    
31
int tune_it(int fd_frontend, int fd_sec, unsigned int freq, unsigned int srate, char pol, int tone, fe_spectral_inversion_t specInv, unsigned int 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);
32

    
33
#ifdef __cplusplus
34
}
35
#endif
36

    
37
#endif