Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Streaming from hard disk
> Okay, so I'm able to load/unload, open/close, write to the device (for
me
> as a Linux nitwit already an achievment...). Now I want to make use of
the
> dvb_dmx_swfilter() call, and thus copied that one into my source (as
it's
> static in dvb_demux.c).
That can't be right. dvb_dmx_swfilter() is not static because it
is meant to be called by drivers.
But it is, in 1.0.1 of the driver I see in dvb_demux.c@416:
static inline void
dvb_dmx_swfilter(struct dvb_demux *dvbdmx, const u8 *buf, size_t count)
The functions it calls are exported though, that's why I tried the copy....
> Looking at the code, I see that I have to fill the
> dvb_demux struct (Am I right?). But, I haven't got the faintest idea of
how
> to proceed.
If you make your code available then others can comment on it.
(If it's not too large then post to the list.)
Will do, after I have something to give, currently it's merely a dummy. I
just wanted to get a little bit better known with Linux device drivers,
before posting.
> Questions:
> 1) Can I just call the dvb_dmx_swfilter() from the write, after setting
up
> the dvb_demux structure?
> 2) If so, can somebody point me into the right diection of how to set-up
> the struct?
> 3) To control the playout speed, can I "simply" use kernel timers, and
make
> sure that in between triggers enough data is sent to the sw filter? Or
is
> this totally the wrong approach?
If you strip the hardware dependent stuff from ttpci/budget-core.c
and budget-ci.c (i.e. the saa7146* and msp3400* stuff) then you
have what you need.
Okay, I'll look into that and try to make something of it.
Thanks,
Gert-Jan
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index