<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
As per an earlier email, here are some patches for dvblast. These
are all against the svn revision form 13/3/2011. I have not updated
them for HEAD because the current HEAD does not compile.<br>
<br>
This first one adds ATSC tuning support.<br>
<br>
diff -Naur dvblast-svn-31-3-2011.orig/dvb.c
dvblast-svn-31-3-2011/dvb.c<br>
--- dvblast-svn-31-3-2011.orig/dvb.c 2011-03-31
13:12:32.000000000 +0100<br>
+++ dvblast-svn-31-3-2011/dvb.c 2011-05-31 16:41:49.000000000
+0100<br>
@@ -813,6 +813,18 @@<br>
.props = dvbt_cmdargs<br>
};<br>
<br>
+static struct dtv_property atsc_cmdargs[] = {<br>
+ { .cmd = DTV_FREQUENCY, .u.data = 0 },<br>
+ { .cmd = DTV_MODULATION, .u.data = QAM_AUTO },<br>
+ { .cmd = DTV_INVERSION, .u.data = INVERSION_AUTO },<br>
+ { .cmd = DTV_DELIVERY_SYSTEM, .u.data = SYS_ATSC },<br>
+ { .cmd = DTV_TUNE },<br>
+};<br>
+static struct dtv_properties atsc_cmdseq = {<br>
+ .num = sizeof(atsc_cmdargs)/sizeof(struct dtv_property),<br>
+ .props = atsc_cmdargs<br>
+};<br>
+<br>
#define FREQUENCY 0<br>
#define MODULATION 1<br>
#define INVERSION 2<br>
@@ -912,6 +924,18 @@<br>
psz_modulation == NULL ? "legacy" :
psz_modulation, i_pilot );<br>
break;<br>
<br>
+ case FE_ATSC:<br>
+ p = &atsc_cmdseq;<br>
+ p->props[FREQUENCY].u.data = i_frequency;<br>
+ p->props[INVERSION].u.data = GetInversion();<br>
+ if ( psz_modulation != NULL )<br>
+ p->props[MODULATION].u.data = GetModulation();<br>
+<br>
+ msg_Dbg( NULL, "tuning ATSC frontend to f=%d inversion=%d
modulation=%s",<br>
+ i_frequency, i_inversion,<br>
+ psz_modulation == NULL ? "qam_auto" :
psz_modulation );<br>
+ break;<br>
+<br>
default:<br>
msg_Err( NULL, "unknown frontend type %d", info.type );<br>
exit(1);<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<title>Tripleplay Signature - Poole</title>
<font style=""> <br>
<font size="2">Best Regards,</font><br>
<br>
<b>Dr. Peter Martin</b><br>
<font size="2" color="#404041">Chief Technical Officer</font><br>
<br>
Tripleplay Services Ltd<br>
<br>
Tel: +44 (0) 845 643 2057</font><br>
Support: +44 (0) 845 094 3357<br>
Mobile: +44 (0) 7810 876713<br>
Mail: <a href="mailto:peter.martin@tripleplay-services.com">peter.martin@tripleplay-services.com</a><br>
WWW: <a href="http://www.tripleplay-services.com">http://www.tripleplay-services.com</a><br>
<br>
<b><font size="2" color="#404041">Tripleplay Services Ltd.</font></b><br>
<font size="2" color="#404041">Unit 3, Concept Park, Yarrow Road,
POOLE, DORSET, BH12 4QT</font><br>
<br>
<i><font size="2" color="#404041">This message is for the
designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and
delete the original. Any review, retransmission, dissemination
or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the
intended recipient is prohibited </font></i><br>
<br>
<i><font size="2" color="#404041">Tripleplay Services Limited is a
private limited liability company in England and Wales, whose
registered office is Cromwell House, 14 Fulwood Place, London,
WC1V 6HZ. Registered in England, number 4338092.</font></i></div>
</body>
</html>