[haiku-development] Re: Calculate time in minutes

  • From: Giovanni Mugnai <musical777@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 3 Dec 2012 20:20:52 +0100

2012/12/3 Marcus Overhagen <marcus.overhagen@xxxxxxxxx>:
> Audio CD is 44.1 kHz, 16 bit, stereo. for every second.
>
> 1 minute = 44100 * 2 * 2 * 60 bytes
>
> regards
> Marcus

Hi Marcus,
to be more complete i am working on a function that tells you time of
audioCD, for improvements on BurnItNow:
http://haikuware.com/directory/view-details/utilities/cd-dvd-recording/burnitnow-exp-version
At the moment (thanks to this list) i have added a function to
calculate files bigger than 2048 MB; now i'd like to add a function to
calculate time instead.
In the old code of BurnItNow this function is present (i have linked
various part of related code) but doesn't work. So i'd like to
investigate with some help of others developers :-)

Best regards,
Giovanni.

Other related posts: