Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: DVB API extension: DMX_GET_STC



Johannes Stezenbach wrote:
Proposal:

I want to keep it simple. What I need is:

  struct dmx_stc {
          uint     num; /* input: which STC? 0...n */
          uint64_t stc; /* output */
  };
  #define DMX_GET_STC  _IOWR('o', 50, struct dmx_stc)
Some hardware supports generating an interrupt on a specific STC, and generally i think polling the STC from userspace is a bad idea.

Maybe some DMX_SET_STC_NOTIFY (with same structure) together with a POLLPRI (or something like this) which fires when the STC matches? (or even a blocking DMX_WAIT_STC)

felix



--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index