Re: Direct Sound GetCurrentPosition
- From: "Chris P." <msdn@xxxxxxxxxxxx>
- Date: Mon, 4 Dec 2006 11:07:27 -0500
On Fri, 1 Dec 2006 15:49:03 -0600, Dave wrote:
I'm using a direct sound software buffer. I'm not using the primary buffer
at all. You think I will run into problems on some hardware by not using
the primary buffer?
You should never use the primary buffer, it is only available for legacy
use and isn't "really" the primary buffer.
You now what I noticed, if you move applications around and bring apps up
and down the notification evens cause a lot of jitter in the audio because
they don't get fired on smooth 50 millisecond boundaries.
This is a flaw with Windows in general. The intensive graphic operations
interrupt the smooth operation of all processes and threads. About all you
can do to counter that is to increase the thread priority of the
notification thread so that when the event fires you are more likely to get
a waiting time slice. Obviously the best solution is to turn off the eye
candy by disabling these effects. Guilty effects are the program menu,
"Fade" and "Scroll", "Show window contents while dragging" which also
affects the minimize/restore.
I haven't experienced the notifications for other processes. I don't think.
Hopefully you shouldn't if you stay with software buffers.
--
http://www.chrisnet.net/code.htm
http://www.avdevforum.com/AV
.
- References:
- Direct Sound GetCurrentPosition
- From: Dave
- Re: Direct Sound GetCurrentPosition
- From: Dave
- Re: Direct Sound GetCurrentPosition
- From: Chris P.
- Re: Direct Sound GetCurrentPosition
- From: Dave
- Re: Direct Sound GetCurrentPosition
- From: Chris P.
- Re: Direct Sound GetCurrentPosition
- From: Dave
- Re: Direct Sound GetCurrentPosition
- From: Chris P.
- Re: Direct Sound GetCurrentPosition
- From: Dave
- Re: Direct Sound GetCurrentPosition
- From: Chris P.
- Re: Direct Sound GetCurrentPosition
- From: Dave
- Re: Direct Sound GetCurrentPosition
- From: Chris P.
- Re: Direct Sound GetCurrentPosition
- From: Dave
- Direct Sound GetCurrentPosition
- Prev by Date: Re: math calculation problem when looking for silence
- Next by Date: Windows 2000 DirectX version
- Previous by thread: Re: Direct Sound GetCurrentPosition
- Next by thread: Re: Windows Media Player 9 API
- Index(es):