[wdmaudiodev] DirectKS: IOCTL_KS_READ_STREAM sometimes returns 0x57(invalid parameter)

  • From: uwe kirst <u.kirst@xxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 24 May 2004 12:15:19 +0200

Hello,
I'm using the DirectKS Example in my application. Most of the times it works flawless but sometimes after several starts / stops / restarts IOCTL_KS_READ_STREAM returns invalid parameter. The driver does not recover until I close my programm and restart it again. I'm using XP SP1.
My question is now in which situations does the microsoft portclass driver (wavecyclic) return invalid parameter? I assume this is a kind of memory allocation problem. Maybee the data buffers have to be of a special memory type?
Thank you in advance.
Uwe



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


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.de/

Other related posts:

  • » [wdmaudiodev] DirectKS: IOCTL_KS_READ_STREAM sometimes returns 0x57(invalid parameter)