Commit Graph

11 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
Charles Davis c8e87bd878 winecoreaudio.drv: Don't use pointer constants with an integer type (Clang).
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 11:55:15 +09:00
Alexandre Julliard 41d9d0a2f3 winecoreaudio.drv: Remove unnecessary ifdefs. 2011-03-28 22:15:12 +02:00
Francois Gouget 0216e3e6c6 winecoreaudio.drv: Remove an unused debug channel (midi). 2008-12-29 11:35:37 +01:00
Andrew Talbot 1d5d237800 winecoreaudio.drv: Do nothing if HAVE_AUDIOUNIT_AUDIOUNIT_H is not defined. 2008-12-22 10:28:58 +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
Emmanuel Maillard dea9878c2d winecoreaudio.drv: Create only one MIDIOutPort and one MIDIInPort for all destinations and sources. 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 7ad29c8bb7 winecoreaudio: Initial MIDI support on Mac OS X. 2007-04-25 13:37:26 +02:00