Dear list, I am trying to catch up with
the Linux DVB API and the driver for Siemens / Hauppauge cards. I have
to apologize upfront if I
ask questions that have been already answered somewhere else, but I could not
find any information on this. 1. What is the difference
between the OLDSTRUCT and NEWSTRUCT? Is it just the support for devfs? Or did the API change in some other respect? 2. The API documentation PDF
file on the site is dated February 14th 2002. Does it reflect the
old or new API? My reason for asking is that
neither xcha nor dbvtune
compile. The website of the author of xcha claims his code was adaptec
to the “new API” (I guess that is NEWSTRUCT?). So I am entirely
lost … Regards, Torsten P.S.: I also tried to compile
the tuning example in the API doc PDF on page 112. It
has a syntactic error: int set_qpsk_channel(int freq, int
vpid, int apid, int tpid, int diseqc,
int pol, int srate, int
fec, int lnb_lof1, int lnb_lof2, int lnb_slof) { struct secCommand
scmd; struct secCmdSequence
scmds; struct dmxPesFilterParams
pesFilterParams; FrontendParameters frp; struct pollfd
pfd[1]; FrontendEvent event; int demux1, dmeux2, demux3,
front, frequency = (uint32_t) freq; symbolrate = (uint32_t) srate; Either at the end of the last
but 3rd line there had to be a semikolon
or on the last but 2nd line there had to be a komma
instead ?!? |