google-code-export / bitspersampleconv2

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

timeBeginPeriod(1) #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PlayPcmWin 3.0.59以前のバージョンでは
再生スレッドでtimeBeginPeriod(1)を呼んでいるが、
これはタイマーイベントの時間精度が上がる一方
消費電力を増加させる。

timeBeginPeriod(1)を呼ぶかどうかを選択できるようにして
その効果を見定める必要があるだろう。

それとは別に、PlayPcmWin 3.0.60には
timeBeginPeriod(1)を常に*呼ばない*というバグが入っている

Original issue reported on code.google.com by yamamoto2002@gmail.com on 1 Apr 2012 at 12:53

GoogleCodeExporter commented 9 years ago
revision 2295
PlayPcmWin 3.0.61

詳細設定画面に[timeBeginPeriod(1)を呼ぶ]チェックボックスを作
成。
チェックすると再生スレッドでtimeBeginPeriod(1)を呼ぶ。
チェックしないと再生スレッドでtimeBeginPeriod(1)を呼ばない��
�

Original comment by yamamoto2002@gmail.com on 1 Apr 2012 at 12:55

GoogleCodeExporter commented 9 years ago

Original comment by yamamoto2002@gmail.com on 1 Apr 2012 at 12:55

GoogleCodeExporter commented 9 years ago
以下の記事を見ると極端な低レイテンシー(10ミリ秒以下と��
�)音楽再生をする場合に
音飛びの発生確率を下げるためにtimeBeginPeriod(1)を呼ぶと良��
�と思われるが、
それ以外の場合は、呼ばないほうがよさそう。

http://blogs.msdn.com/b/larryosterman/archive/2005/09/08/462477.aspx

Original comment by yamamoto2002@gmail.com on 1 Apr 2012 at 1:25