RE: [GD-Windows] Streaming WAVE audio
Brought to you by:
vexxed72
From: Brian H. <ho...@bo...> - 2004-07-14 18:05:40
|
> This is one of the few reasons to have a second thread in your > application, in my opinion. Agreed (along with a background resource loader if your application needs that). > If you set your process priority to > above normal, and the thread priority to real time (permissions > willing), then you can get 20 ms latency on NT based kernels, and > 50 ms or so on DOS based kernels. This is with three buffers, each > of which is 20 milliseconds. I don't change the process priority, I just set the thread priority of the audio thread to HIGHEST (not real time) -- is there a particular advantage to altering the process priority as well/first? Brian |