[Media_api] RE: media_api Digest, Vol 28, Issue 3

Roger Dannenberg rbd at cs.cmu.edu
Wed Nov 15 15:43:57 PST 2006


Oron,
	Instead of creating another VC++ target, I think users should just 
remove the PM_CHECK_ERRORS definition. It's not just a console/windows 
app issue -- a robust command line application should check and handle 
error codes. Probably PM_CHECK_ERRORS should put up a dialog box since 
printf and fgets don't work under console apps.
	What devices/interfaces are you using? I'll have to check but I recall 
something odd about dwBytesRecorded and dwBufferLength fields. I'm 
worried that "fixing" it for your interface will put us back where we 
started, which broke the code for another interface. I'll have to look 
at earlier implementations and see what changed.
	Thanks for your input. We definitely can't be sending out junk after 
sysex messages!
	-Roger


More information about the media_api mailing list