I have a driver based on MSVAD simple which can get PCM data from other
machine. I want to send this PCM data to Win7 (the default audio endpoint)
to play it.
In user mode, there is WaveOutXXX API or DirectX to do things like this. Is
there some similar function I can call in kernel mode?
From user-land, do an asynchronous read request. When the driver has the data the it will complete the IO request and return the data, or fetch the data and store it until the user asks for it. . There is no means for the driver to initiate such an action without an IO request.
Gary G. Little
----- Original Message -----
From: “Dang XiaoHui” To: “Windows System Software Devs Interest List” Sent: Thursday, January 13, 2011 1:59:23 AM Subject: [ntdev] How to send PCM data back to OS?
Hello,
I have a driver based on MSVAD simple which can get PCM data from other machine. I want to send this PCM data to Win7 (the default audio endpoint) to play it.
In user mode, there is WaveOutXXX API or DirectX to do things like this. Is there some similar function I can call in kernel mode?
Since the media data is received and decoded in kernel mode, I thought it
would be much easier if there is a mechanism to send the PCM data to win7 in
kernel mode. If mechanism doesn’t exist, I will use a user mode application
to read data from driver and then send it to os.
2011/1/13 Gary G. Little
> From user-land, do an asynchronous read request. When the driver has the > data the it will complete the IO request and return the data, or fetch the > data and store it until the user asks for it… There is no means for the > driver to initiate such an action without an IO request. > > Gary G. Little > > ----- Original Message ----- > From: “Dang XiaoHui” > To: “Windows System Software Devs Interest List” > Sent: Thursday, January 13, 2011 1:59:23 AM > Subject: [ntdev] How to send PCM data back to OS? > > Hello, > > I have a driver based on MSVAD simple which can get PCM data from other > machine. I want to send this PCM data to Win7 (the default audio endpoint) > to play it. > > In user mode, there is WaveOutXXX API or DirectX to do things like this. Is > there some similar function I can call in kernel mode? > > Thanks! > > – > Danny > — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and > other seminars visit: http://www.osr.com/seminars To unsubscribe, visit > the List Server section of OSR Online at > http://www.osronline.com/page.cfm?name=ListServer > > — > NTDEV is sponsored by OSR > > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars > > To unsubscribe, visit the List Server section of OSR Online at > http://www.osronline.com/page.cfm?name=ListServer >