I finally got round to checking this code out after a long long time.
It's as simple as adding :-
if(!pmt) return E_POINTER;
to the start of the SetFormat() method
After that it works like a flash ..er.. I mean in flash...
Moral of the story : Always assume a pointer parameter will get a NULL
value sometime or other ( especially when the docs mention that
too!! )
Vivek
"rep_movsd" wrote:
Thanks, you are the man!
This came up in a couple posts, and using Firefox debugger version with
flash player debugger version, I set firefox as the debug target while
loading a flash app. The flash app loaded vCam and I was able to deduce that
flash player will pass a null media type first thing off the bat.
This has been the single most awesome piece of sample code to start my
projects from. Thanks again!
ps. How about a working vMic version? I tried but my kungfoo is weak. As a
simple DS filter I've got it working fine, however, when it comes to trying
within 'vMic' , I fail.
No greater satisfaction than knowing one's code is well regarded....
By vMic do you mean this : http://vmic.unibas.ch/ ?
or is it something else?
I can have a look if you give me some details...
V
"rep_movsd" wrote:
I mean vCam but using an audio mediatype instead of video.