Dear all,
While i'm playing the wave file, the debug window sometimes outputs
such messages. What does it mean and where it comes from? Is it from
software mixer?
And what else can I do if the sound is still having some short delay
during playing?
Furthermore, how can I measure my IST execution time?
Thanks a lot!~

Best Regards,
boku

Re: What's "Invalidating Saved Bits"? by Remi

Remi
Thu Sep 28 09:22:07 CDT 2006

> such messages. What does it mean and where it comes from? Is it from
> software mixer?

This message comes from the GWES and is not related to wave-playing stuff.

> And what else can I do if the sound is still having some short delay
> during playing?

I think it's time to switch to Retail mode. Debug mode induces a lot of
delays that can significatively affect sound throughput.

> Furthermore, how can I measure my IST execution time?

Try to use GetTickCount (wisely) and, of course, use RETAILMSG instead of
DEBUGMSG

Remi.



Re: What's "Invalidating Saved Bits"? by Valter

Valter
Thu Sep 28 10:15:20 CDT 2006

"boku" <boku0712@gmail.com> wrote in
news:1159446034.608162.130410@b28g2000cwb.googlegroups.com:

> Dear all,
> While i'm playing the wave file, the debug window sometimes
> outputs
> such messages. What does it mean and where it comes from? Is it
> from software mixer?

Those message came from GWES

> And what else can I do if the sound is still having some short
> delay during playing?

If you are using KITL and the debug version you may experience some
delays and the startup sound can be heavvily distorded because
during startup all the modules are sending debug messages back to
PB.
Try in debug and if this doesn't solve your issue, try to increase
the priority of the IST connected to the filling of the audio
buffers.

> Furthermore, how can I measure my IST execution time?

To have a high-resolution measurement you may try to use
QueryPerformanceCounter and QueryPerformanceFrequency.
Another solution could be using an output signal (switching it on at
the beginning of IST execution and back off at the completion) and
calculate your time with an oscilloscope.
Adding a similar output signal switch inside the ISR could be useful
to measure IST latency. If the interrupt cames from an external
source you may wire it to the oscilloscope getting the interrupt
response time of your device.

--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)