libcdio-devel
[Top][All Lists]
Advanced

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

[Libcdio-devel] Re: Submission of new mmc function for libcdio


From: Thomas Schmitt
Subject: [Libcdio-devel] Re: Submission of new mmc function for libcdio
Date: Thu, 28 Jan 2010 11:43:35 +0100

Hi,

> Yes, I think libcdio should have a mmc_get_discmode, so additions are most
> welcome here.

GET CONFIGURATION produces quite a fat result.
Probably one would need more than one API
call or a fat structure to exploit it.

One should make a list of items which are of
interest (or define the fat structure which
swallows all).
In libburn i pick some info and store it in the
burn_drive object. Much info is ignored, though.


> I had thought recent work that Thomas added here covered this, but I don't
> see it. Perhaps I was thinking about information he recently added to the
> libcdio glossary under "Media models and profiles" which may be of some
> help?

I listed the profiles in the gloassary, yes.
But since libburn does everything via its own
MMC commands i did not implement any new API
calls which use mmc_run_cmd().


libburn has a call
  int burn_disc_get_profile(struct burn_drive *d, int *pno, char name[80]);
so how about
  int cdio_get_profile(CdIo_t *p_cdio, int *pno, char name[80]);

(or the fat struct and a single call ?)

libcdio may copy function
  char *mmc_obtain_profile_name(int profile_number)
from libburn/mmc.c which translates numbers to
names.

 
Have a nice day :)

Thomas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]