my main goal is to capture sound from one PC and transfer to an other PC in order to do that i am modifiy msvad->Simple code for capting the sound. this is because i want to create a virtual sound card driver inorder to capture the sound played on a remote PC which has no Phasical sound card.
the simple logic is sound--->MSVAD--->mysoftware--->network stream.
when i capture sound form MSVAD. i get clicking sound the orignal sound.
and there is also click sound recorded form "windows sound recorder"
i think that this driver is only for render the sound. i have seen CopyTo and CopyFrom which is empty these are as follow.
//=============================================================================
STDMETHODIMP_(void)
CMiniportWaveCyclicStreamMSVAD::CopyTo
(
IN PVOID Destination,
IN PVOID Source,
IN ULONG ByteCount
/*++
Routine Description:
The CopyTo function copies sample data to the DMA buffer.
Callers of CopyTo can run at any IRQL.
Arguments:
Destination - Points to the destination buffer.
Source - Points to the source buffer
ByteCount - Number of bytes to be copied
Return Value:
void
--*/
)
{
m_SaveData.WriteData((PBYTE) Source, ByteCount);
} // CopyTo
and copyFrom is
//=============================================================================
STDMETHODIMP_(void)
CMiniportWaveCyclicStreamMSVAD::CopyFrom
(
IN PVOID Destination,
IN PVOID Source,
IN ULONG ByteCount
)
/*++
Routine Description:
The CopyFrom function copies sample data from the DMA buffer.
Callers of CopyFrom can run at any IRQL
Arguments:
Destination - Points to the destination buffer.
Source - Points to the source buffer.
ByteCount - Points to the source buffer.
Return Value:
void
--*/
{
} // CopyFrom











