Hello,
I am working on application that will play audio to list of number after they are dialed. I could do the part of dialing but I wonder if your program has a library that control the audio comming out of the device to be routed to the phone and not the speaker.


On 6/24/05, Robert Moynihan <[EMAIL PROTECTED]> wrote:
The finest resolution you are going to get it 10ms.  Before your loop
put in a call to TimGetTicks() and store that value.  Then increment a
counter in your loop so that you know how many times it cycled.  Upon
exiting the loop, (or perhaps after a set # of cycles,... 100?...1000?)
get TimGetTicks() again, subtract the original, divide by the number of
cycles, and popup a dialogue with the average time.  That's possibly how
I might do it.  Bob


>I am using Zire 21 which works at 126Mhz . How can i
>determine the time taken (realtime) to execute this
>AppEventloop(), assuming that there are no background
>processes and no handle events associated with the
>form.
>
>  do
>   {
>        EvtGetEvent(&event, 0);
>         if (! SysHandleEvent(&event))
>       {
>          if (! MenuHandleEvent(0, &event, &error))
>           {
>             if (! AppHandleEvent(&event))
>             {
>               FrmDispatchEvent(&event);
>             }
>           }
>       }
>    } while ((event.eType != appStopEvent)
>
>regds
>Dina.
>
>
>
>____________________________________________________
>Yahoo! Sports
>Rekindle the Rivalries. Sign up for Fantasy Football
>http://football.fantasysports.yahoo.com
>
>
>


--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to