[Media_api] Bug! No idea how to submit?

Roger Dannenberg rbd+ at cs.cmu.edu
Wed Sep 20 12:25:59 PDT 2006


Nigel,
	Thanks for your post. I've tested sysex message processing, mostly with 
the pm_test/sysex.c program, and it seemed to be working. What was the 
problem you encountered? My first reaction is this might be a driver 
bug. (I don't trust my own first reaction, but it's worth considering.) 
The Windows documentation says:

dwBytesRecorded: Actual amount of data in the buffer. This value should 
be less than or equal to the value given in the dwBufferLength member.

So setting it to zero, as you do, seems to be a bug (although I have no 
doubt that it worked in your case).

	Thanks for discovering this -- I'd like to probe deeper before making a 
change. I'll test your change on my system (Win XP, MAudio MidiSport 1x1 
USB interface).

	-Roger


More information about the media_api mailing list