|
-
January 22nd, 2008, 06:04 PM
#7
Re: Voice over UDP problem
Yeah. Good idea.
Just transfer the dwBytesRecorded and the apropriate number of bytes from lpData. The dwBufferLength is maybe to large, don't know.
Then you can construct the WAVEHDR structure at the target computer without having to transfer it. Just you have to know where your transfered waveform lies in memory, and that's about it.
Edit: reading again your post about your attempts: don't set dwBufferLength, but set dwBytesRecorded to the number of bytes in the waveform array. (Or both)
Last edited by WoF; January 22nd, 2008 at 06:07 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|