-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.c
More file actions
30 lines (19 loc) · 669 Bytes
/
main.c
File metadata and controls
30 lines (19 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* DVB API Profiler by Greg Wickham is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
*/
#include <glibmm.h>
#include "tuner-ofdm.h"
#include "tuner-qpsk.h"
static Glib::RefPtr<Glib::MainLoop> loop;
int main( int argc, char *argv[] ) {
loop = Glib::MainLoop::create( false );
Adapter *adapter[ 4 ];
adapter[ 0 ] = new TunerQPSK( 0, 1, 1062000, 27800000, SEC_VOLTAGE_18 );
adapter[ 1 ] = new TunerQPSK( 1, 1, 1062000, 27800000, SEC_VOLTAGE_18 );
#if 0
adapter[ 3 ] = new OFDM( 4, 7, 219500000 );
adapter[ 2 ] = new OFDM( 5, 10, 557625000 );
#endif
loop->run();
}
/* END OF FILE */