[haiku-development] Re: Calculate time in minutes (SOLVED)

  • From: scottmc <scottmc2@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 5 Dec 2012 15:35:11 -0800

Giovanni,
Instead of saying to set a low value for DVDs, see if you can detect the
disc and if it's a DVD then adjust that to be 12X or whatever as the
maximum.  Keep in mind that this whole program should be converted over to
the layout manager at some point.  That's what was started in osdrawer
trunk.  You can probably reuse a lot of the code from the one you are
working on, like the cdrecord calls and such.
One of the advantages of moving to the layout manager is that you can then
add support for translating the text strings.
-scottmc

Other related posts: