[Redbutton-devel] SF.net SVN: redbutton: [295] redbutton-download/trunk/channels.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-04-26 14:37:49
|
Revision: 295
http://svn.sourceforge.net/redbutton/?rev=295&view=rev
Author: skilvington
Date: 2007-04-26 07:37:47 -0700 (Thu, 26 Apr 2007)
Log Message:
-----------
prepare to allow ATSC cards to tune
Modified Paths:
--------------
redbutton-download/trunk/channels.c
Modified: redbutton-download/trunk/channels.c
===================================================================
--- redbutton-download/trunk/channels.c 2007-04-26 12:10:34 UTC (rev 294)
+++ redbutton-download/trunk/channels.c 2007-04-26 14:37:47 UTC (rev 295)
@@ -40,6 +40,7 @@
static bool get_dvbt_tune_params(uint16_t, struct dvb_frontend_parameters *);
static bool get_dvbs_tune_params(uint16_t, struct dvb_frontend_parameters *);
static bool get_dvbc_tune_params(uint16_t, struct dvb_frontend_parameters *);
+static bool get_atsc_tune_params(uint16_t, struct dvb_frontend_parameters *);
static FILE *_channels = NULL;
@@ -195,6 +196,8 @@
return get_dvbs_tune_params(service_id, out);
else if(fe_type == FE_QAM)
return get_dvbc_tune_params(service_id, out);
+ else if(fe_type == FE_ATSC)
+ return get_atsc_tune_params(service_id, out);
else
error("Unknown DVB device type (%d)", fe_type);
@@ -258,6 +261,13 @@
return false;
}
+static bool
+get_atsc_tune_params(uint16_t service_id, struct dvb_frontend_parameters *out)
+{
+printf("TODO: tune ATSC card to service_id %u\n", service_id);
+return false;
+}
+
/*
* retune to the frequency the given service_id is on
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|