annotate stream/dvb_tune.h @ 36369:3dfc82c0a678

Handle files with sample rate changes correctly. For example concatenated MP3 files.
author reimar
date Tue, 15 Oct 2013 18:44:08 +0000
parents 07a7bc5f94a8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30646
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
1 /*
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
2 * This file is part of MPlayer.
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
3 *
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
7 * (at your option) any later version.
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
8 *
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
12 * GNU General Public License for more details.
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
13 *
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License along
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
17 */
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
18
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
19 #ifndef MPLAYER_DVB_TUNE_H
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
20 #define MPLAYER_DVB_TUNE_H
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
21
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
22 #include "dvbin.h"
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
23
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
24 int dvb_get_tuner_type(int fe_fd);
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
25 int dvb_open_devices(dvb_priv_t *priv, int n, int demux_cnt);
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
26 int dvb_fix_demuxes(dvb_priv_t *priv, int cnt);
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
27 int dvb_set_ts_filt(int fd, uint16_t pid, dmx_pes_type_t pestype);
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
28 int dvb_demux_stop(int fd);
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
29 int dvb_demux_start(int fd);
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
30 int dvb_tune(dvb_priv_t *priv, int freq, char pol, int srate, int diseqc,
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
31 int tone, fe_spectral_inversion_t specInv,
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
32 fe_modulation_t modulation, fe_guard_interval_t guardInterval,
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
33 fe_transmit_mode_t TransmissionMode, fe_bandwidth_t bandWidth,
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
34 fe_code_rate_t HP_CodeRate, fe_code_rate_t LP_CodeRate,
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
35 fe_hierarchy_t hier, int timeout);
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
36
07a7bc5f94a8 Add header for exported DVB-related functions.
diego
parents:
diff changeset
37 #endif /* MPLAYER_DVB_TUNE_H */