Re: getting wavedata from waveOutWrite



typedef struct {
LPSTR lpData;
DWORD dwBufferLength;
DWORD dwBytesRecorded;
DWORD_PTR dwUser;
DWORD dwFlags;
DWORD dwLoops;
struct wavehdr_tag * lpNext;
DWORD_PTR reserved;
} WAVEHDR;

Why dont you use dwBufferLength and dwBytesRecorded ??


"keshav" <keshavnayase@xxxxxxxxx> wrote in message
news:1129879358.642191.224810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I want to record the stream played by a specific application for that I
> am hooking waveOutXXX api's of that application now I am able to
> hook(trap) that api .I can nullify the data my clearingthe whole buffer
> but not able to get the exact length of that data present in the
> WAVEHEADER structure. So is there anyone who can help in retriving the
> data from waveoutwrie and writing that to a wav file?
> Please help me regardin this
>


.



Relevant Pages