[Live-devel] A question regarding the timing of doGetNextFrame

Ross Finlayson finlayson at live555.com
Mon Feb 8 07:03:43 PST 2016


>> By the way, off topic (and I don't know if you care to know), but I had to fix something in your waveInCallback method (in WindowsAudioInputDevice_common). The callback method needs to have DWORD parameters changed to DWORD_PTR to support 64-bit Windows. 
>> 
>> static void CALLBACK waveInCallback(HWAVEIN /*hwi*/, UINT uMsg,
>>    DWORD_PTR /*dwInstance*/, DWORD_PTR dwParam1, DWORD_PTR /*dwParam2*/) {
> 
> Thanks.  Was this the *only* change that you had to make here - i.e., change the three occurrences of “DWORD” to “DWORD_PTR” in the callback function signature?  If so, then I’ll make this change in the next release of the software.

FYI, I wasn’t able to make this change in the released code, because there are some (old?) versions of Windows ‘DevStudio’ out there for which ‘DWORD_PTR’ is not defined.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list