Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Question about the FE API
There are two functions that use the qpskParameters structure :
1° int ioctl(int fd, int request = QPSK_TUNE, struct qpskParameters *p);
2° int ioctl(int fd, int request = QPSK_GET_EVENT, struct qpskEvent *ev);
where :
struct qpskEvent {
int32_t type; /* type of event, FE_UNEXPECTED_EV, ... */
time_t timestamp; /* time of event as returned by time() */
union {
struct {
feStatus previousStatus; /* status before event */
feStatus currentStatus; /* status during event */
} unexpectedEvent;
struct qpskParameters completionEvent; /* parameters for which the
tuning succeeded */
feStatus failureEvent; /* status at failure (e.g. no lock) */
} u;
};
In the first structure, the iFrequency parameter unit is the kHz, and in the
second (completionEvent) , it is the Hz !
Why this difference ?
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index