How to call CopyTo function in MSVAD

Hi,

I want to use “MSVAD Simple” drive to capture audio data.

I compiled and installed the driver (vadsimpl.sys), but CMiniportWaveCyclicStreamMSVAD::CopyTo function is never called.

Can someone help me how to call CopyTo function?

Thanks.

–ak

xxxxx@gmail.com wrote:

I want to use “MSVAD Simple” drive to capture audio data.

I compiled and installed the driver (vadsimpl.sys), but CMiniportWaveCyclicStreamMSVAD::CopyTo function is never called.

Can someone help me how to call CopyTo function?

How did you test this? Remember, you must select this as your audio
output device in order for it to receive audio data.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Note also that if you have serious optimizations enabled, some functions are
compiled inline instead of creating calls to the body, so if you put a
breakpoint in the body of the function (or at the first line), yes, it is
never called, because, in fact, it is never called! This does not mean that
the body of the function is not executed; it is dropped inline at the call
site.

If you add

__declspec(noinline)

to the declaration, so it reads as

__declspec(noinline) return_type function_name(…)

then the compiler will not perform this optimization and the call will take
place.
joe

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Monday, August 01, 2011 1:41 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] How to call CopyTo function in MSVAD

xxxxx@gmail.com wrote:

I want to use “MSVAD Simple” drive to capture audio data.

I compiled and installed the driver (vadsimpl.sys), but
CMiniportWaveCyclicStreamMSVAD::CopyTo function is never called.

Can someone help me how to call CopyTo function?

How did you test this? Remember, you must select this as your audio
output device in order for it to receive audio data.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


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