[wdmaudiodev] Re: DirectKS not working properly on XP with an USB device

  • From: uwekirst <u.kirst@xxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 28 Jun 2010 10:37:17 +0200

Hello,

I once had an issue with the direct KS example, which may also explain your bad experiance.
It's about how the audio buffer memory is allocated.
In the example they simply use a "new".
The problem with that is that the memory may be swapped out.
My experince is that you need to lock the buffers in memory.

/Uwe


Maciej Cies'lak schrieb:
I was looking for a low latency solution that works on both XP and
Vista/7, therefore I decided to check whether Kernel Streaming will
fulfill my requirements. Apparently, no, or I am doing something
wrong, i.e. I should modify the standard example in some way.
******************

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/


******************

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: