22 May '13 - 02:18 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: bytes2seconds question  (Read 1475 times)
albertos
Posts: 29


« on: 6 Sep '02 - 03:12 »
Reply with quoteQuote

is there a way to get a more accurate result? i mean that when i get eg. 1sec how can i get 1.2sec etc...
if there is not possible with bytes2seconds then is there a workaround?

thanks
Logged
Zep
Posts: 27


« Reply #1 on: 6 Sep '02 - 08:41 »
Reply with quoteQuote

Have you noticed the return value of  BASS_ChannelBytes2Seconds? It already gives you floating point values.
« Last Edit: 6 Sep '02 - 08:42 by Zep » Logged
albertos
Posts: 29


« Reply #2 on: 6 Sep '02 - 10:57 »
Reply with quoteQuote

no i haven't... otherwise i wouldn't ask...
Logged
Zep
Posts: 27


« Reply #3 on: 6 Sep '02 - 11:22 »
Reply with quoteQuote

Just tried to help.
Logged
albertos
Posts: 29


« Reply #4 on: 6 Sep '02 - 12:19 »
Reply with quoteQuote

thanks. It really returns float... but if u declare it long... then u won't get floating... silly me...thanks again
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines