Author Topic: Timer and multimedia-timer interval ?  (Read 4370 times)

fredvs

  • Posts: 325
Timer and multimedia-timer interval ?
« on: 2 Apr '03 - 10:58 »
Hello Bass eaters. 8)
I use lots of timers with bass.

What is the reasonable minimum interval for timers (and multimedia-timers) that i have to use for :

1- Getdata() (without playing = Stream Decode).
2- Getposition() (while normal playing).

NB: With Delphi i can use only 1 multimedia-timer at a time...
« Last Edit: 2 Apr '03 - 11:01 by fredvs »

fredvs

  • Posts: 325
Re: Timer and multimedia-timer interval ?
« Reply #1 on: 3 Apr '03 - 13:56 »
Hum, any ideas ? :-/

Irrational86

  • Posts: 960
Re: Timer and multimedia-timer interval ?
« Reply #2 on: 3 Apr '03 - 18:01 »
For GetData, since what you probably want is a fast decode, make the timer 1ms..
And for playback, you dont want to update the display too often (or maybe you do?) anyways, for the GetPosition, use 1second. Thats how i see it, you might have a different opinion..