Commit Graph

8 Commits

Author SHA1 Message Date
Brendan Shanks 1fc8a8f234 winecoreaudio.drv: Only read 'length' bytes from received MIDIPackets.
The Core MIDI MIDIPacket struct is declared with a 256-byte data array,
but this is just for convenience. There may be only one accessible byte,
or there may be more than 256.
Only read 'length' bytes from the packet, and correctly handle a
length > 256.

Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-09 20:15:11 +01:00
Emmanuel Maillard 622ee1c4cc winecoreaudio.drv: Implement MIDIOut_Data when device is a MOD_MIDIPORT.
Implement MIDIOut_Send.
2007-05-01 11:42:24 +02:00
Francois Gouget 5a8fc34033 Assorted spelling fixes. 2007-04-30 12:35:11 +02:00
Emmanuel Maillard 1a47f36cb9 winecoreaudio: Initial MIDI In Mach message handling. 2007-04-26 15:00:36 +02:00
Emmanuel Maillard 4903fbedc9 winecoreaudio: Initial MIDI In support on Mac OS X. 2007-04-26 14:59:46 +02:00
Emmanuel Maillard 9aa9cde841 winecoreaudio: Implement MIDIOut_GetVolume and MIDIOut_SetVolume. 2007-04-25 13:43:05 +02:00
Emmanuel Maillard 8f03804b8b winecoreaudio: Implement MIDIOut_Data. 2007-04-25 13:40:36 +02:00
Emmanuel Maillard 7ad29c8bb7 winecoreaudio: Initial MIDI support on Mac OS X. 2007-04-25 13:37:26 +02:00