2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef MPLAYER_DVB_TUNE_H
20 #define MPLAYER_DVB_TUNE_H
24 int dvb_get_tuner_type(int fe_fd
);
25 int dvb_open_devices(dvb_priv_t
*priv
, int n
, int demux_cnt
);
26 int dvb_fix_demuxes(dvb_priv_t
*priv
, int cnt
);
27 int dvb_set_ts_filt(int fd
, uint16_t pid
, dmx_pes_type_t pestype
);
28 int dvb_demux_stop(int fd
);
29 int dvb_demux_start(int fd
);
30 int dvb_tune(dvb_priv_t
*priv
, int freq
, char pol
, int srate
, int diseqc
,
31 int tone
, fe_spectral_inversion_t specInv
,
32 fe_modulation_t modulation
, fe_guard_interval_t guardInterval
,
33 fe_transmit_mode_t TransmissionMode
, fe_bandwidth_t bandWidth
,
34 fe_code_rate_t HP_CodeRate
, fe_code_rate_t LP_CodeRate
,
35 fe_hierarchy_t hier
, int timeout
);
37 #endif /* MPLAYER_DVB_TUNE_H */