• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can anyone help me in Fade In...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can anyone help me in Fade In...?


  • Subject: Re: Can anyone help me in Fade In...?
  • From: Howard Moon <email@hidden>
  • Date: Fri, 17 Jul 2009 06:51:39 -0700


On Jul 17, 2009, at 6:28 AM, Alejandro wrote:

Anshul,

Also if size is not float write: float factor = ((float) i / (float) size);

Why? If i is cast as float, then dividing it by an integer or by a float will produce the exact same results (and *must* do so, according to the C++ standard).


-Howard

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Can anyone help me in Fade In...? (From: Alejandro <email@hidden>)

  • Prev by Date: Re: Can anyone help me in Fade In...?
  • Next by Date: Re: Can anyone help me in Fade In...?
  • Previous by thread: Re: Can anyone help me in Fade In...?
  • Next by thread: Re: Can anyone help me in Fade In...?
  • Index(es):
    • Date
    • Thread