1 #ifndef DEVICEDVBINPUT_INC
2 #define DEVICEDVBINPUT_INC
8 #define NETTUNE_TIMEOUT 5000000
9 #define BUFFER_FRAGMENTS 24
13 * Commands sent to the tuner over the network.
14 * The tuner server always sends the is_busy value when it is opened.
18 * Flush the socket if we lose sync.
20 #define NETTUNE_NONE 0
22 * Return signal strength
24 #define NETTUNE_SIGNAL 1
28 #define NETTUNE_READ 2
30 * Open the tuner device and set the channel
32 #define NETTUNE_OPEN 3
35 * Cause the tuner to send a message indicating it is ready for another connection.
37 #define NETTUNE_CLOSE 4
41 * Set the physical channel to use
43 #define NETTUNE_SET_CHANNEL 5
47 #define NETTUNE_SET_AUDIO_PID 6
48 #define NETTUNE_SET_VIDEO_PID 7
50 // Set channel table to use
51 #define NETTUNE_SET_TABLE 8
55 #define NETTUNE_CABLE 1