[linux-dvb] DVB API update

Markus Rechberger mrechberger at gmail.com
Tue Sep 18 18:47:12 CEST 2007


On 9/18/07, Manu Abraham <abraham.manu at gmail.com> wrote:
> Markus Rechberger wrote:
> > On 9/18/07, Manu Abraham <abraham.manu at gmail.com> wrote:
> >> Markus Rechberger wrote:
> >>> On 9/18/07, Manu Abraham <abraham.manu at gmail.com> wrote:
> >>>> Markus Rechberger wrote:
> >>>>> On 9/18/07, Manu Abraham <abraham.manu at gmail.com> wrote:
> >>>>>> Markus Rechberger wrote:
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>>
> >>>>>>> Why don't abstract the dvb layer from enduser applications and put a
> >>>>>>> general library infront which does that version check and tries to
> >>>>>>> keep things consistend to the end applications?
> >>>>>> It is a nice idea, yes.
> >>>>>>
> >>>>>> Two things, looking at
> >>>>>>
> http://linuxtv.org/hg/dvb-apps/file/4bca5d49c9bd/lib/libdvbapi/dvbfe.c
> >>>>>>
> >>>>>> * This idea of using multiple API 's was thought (It is effective ,
> >> yes)
> >>>>>> You can use multiple API's in there
> >>>>>>
> >>>>>> * The down side is that user applications need to use this library
> >>>>>>
> >>>>>> Someone could ask, why the hell should we use your library. Well,
> that
> >>>>>> causes the headaches.
> >>>>>>
> >>>>> people who use alsa also use the provided alsa API, it makes alot
> sense
> >>>>> to stop applications to directly access those nodes. libdvbapi seems
> to
> >> be
> >>>>> the right way to start over with.
> >>>> If one can get applications to get going with it, it would be a start.
> >>>> Someone jokingly said a name for it "ALDA". But many times, you can't
> >>>> force things to users.
> >>> I just looked at it again, is there any official documentation
> available?
> >> There's nothing such as a libdvbapi.doc/txt. But the important parts
> >> were documented in the headers.*.h files
> >>
> >>
> >
> > I would say that's the reason why almost noone uses it. It would deserve
> some
> > more documentation on linuxtv.org
>
> Looking at the function names and what it does, it resembles the in
> kernel operations 1:1 also there is documentation in the headers. Also
> example applications, test applications, real working applications all
> exists in dvb-apps itself. You still think it needs more documentation ?
>

An abstract documentation and/or tutorial would still be better I think.
For example http://equalarea.com/paul/alsa-audio.html
It seems like people first have to ask in IRC or on the ML to get some info
about that library (well now people can also search that thread, although
an official documentation would be preferred I guess :)

Markus



More information about the linux-dvb mailing list