[wdmaudiodev] Re: Stable thread scheduling Vista

  • From: Robert Bielik <robert.bielik@xxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Sat, 26 Mar 2011 10:46:07 +0100

Robert Bielik skrev 2011-03-26 09:10:
But further to my case, I've checked the periodicity of the thread and it does 
seem that with 5 ms I get to handle pretty
much exactly 220 frames per iteration (which is pretty stable), but still I get 
the pops/clicks.

I've found the problem. With profound stupidity I assumed that the position 
register would be aligned to the block alignment size (4 bytes in the
case of 16 bit stereo). This was not the case, and I guess this would be pretty 
common. After aligning the position the pops/clicks are gone :)

/Rob
******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: