klangobjekte / bitspersampleconv2

Automatically exported from code.google.com/p/bitspersampleconv2
0 stars 1 forks source link

Timer resolution value is changed to 10ms when playback with Timer Resolution=0.5ms #118

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
How to reproduce
1. Launch PlayPcmWin.
2. Set timer resolution=0.5ms on settings window.
3. Start playback.

When playback starts, timer resolution value is set to 0.5ms by 
NtSetTimerResolution.
but after a while, timer resolution value changed to 10ms.

With timer resolution=1ms, where timeBeginPeriod(1) is called instead of 
NtSetTimerResolution, this problem does not occur.

I suppose some kind of extra treatment is needed when using 
NtSetTimerResolution.

PlayPcmWin 4.0.22
Windows 7 Professional x64 SP1

Original issue reported on code.google.com by yamamoto2002@gmail.com on 8 Dec 2012 at 2:53