Commit Graph

51 Commits

Author SHA1 Message Date
Jacek Konieczny 3d57cc2863 winealsa.drv: Send MIDI events to port subscribers.
This way changes to the port connections made by other applications will be
honoured.

Signed-off-by: Jacek Konieczny <jajcus@jajcus.net>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 20:36:38 +01:00
Jacek Konieczny 1875887000 winealsa.drv: Allow external MIDI port connection changes.
That is generally the expected behaviour of any ALSA sequencer client.

Signed-off-by: Jacek Konieczny <jajcus@jajcus.net>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 20:36:35 +01:00
Andrew Eikum 983354c3f6 winealsa.drv: Clean up midiOpenSeq.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 20:36:32 +01:00
Fabian Maurer 20e5920135 winealsa.drv: Don't crash when getting NULL event from midi.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46170
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 17:48:53 +01:00
Michael Stefaniuc 05a6b3049d winealsa.drv: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:02 +02:00
Bruno Jesus 53454ce935 winealsa.drv: Fix handling of system real time MIDI messages.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-07 17:00:32 +01:00
Alexandre Bique ffccadd335 winealsa.drv: midiSeq must be protected by a critical section. 2013-12-16 16:10:40 +01:00
Frédéric Delanoy 901fff3c07 winealsa.drv: Use BOOL type where appropriate. 2013-12-02 10:54:56 +01:00
Jörg Höhle b0fc000ce1 winmm: Prevent some MIDI race conditions. 2013-03-01 18:03:30 +01:00
Jörg Höhle 2bc23b0c55 winealsa: Reword some MIDI log messages. 2013-03-01 18:03:30 +01:00
Jörg Höhle b95910ccbc winmm: More compatible midiIn/Out[Un]Prepare MHDR_* flag handling. 2013-02-13 17:19:43 +01:00
Jörg Höhle d7c716c470 winealsa: Have the MIDI recorder wait in poll(), not snd_seq_event_input(). 2013-01-24 15:37:58 +01:00
Christian Costa d727596a5b winealsa.drv: Fix F0 and F7 byte insertion + memory leak and remove LP stuff in modLongData. 2013-01-18 13:28:54 +01:00
Nikolay Sivov 72452b1015 winealsa: Fix variable types so pointer is not truncated on 64bit. 2012-08-21 11:46:00 +02:00
Andrew Talbot 654f280947 winealsa.drv: Add some return statements to mark semantic separations. 2011-10-14 13:12:28 +02:00
Andrew Eikum b1fdaa81b0 dsound: Remove hardware acceleration support. 2011-09-26 18:38:07 +02:00
Andrew Eikum 8258a5188c winealsa.drv: Remove wave, mixer, and dsound driver code. 2011-09-26 18:33:43 +02:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Stephane Bacri d8ccfafd5b winealsa.drv: Add midi MTC Quarter Frame messages support. 2011-06-17 12:36:33 +02:00
Andrew Eikum eabf5715ce winealsa.drv: Implement IAudioSessionControl::GetState. 2011-05-02 18:48:20 +02:00
Alexandre Julliard 255cc210b6 winealsa.drv: Remove unnecessary ifdefs. 2011-03-28 22:07:26 +02:00
Jörg Höhle 8fa84df772 winealsa: MOD_MIDIPORT has 0 voices and notes and FFFF ChannelMask. 2010-05-18 18:42:09 +02:00
Jörg Höhle 3af7e99ba0 winealsa: Supply FFFFFFFF for midiOutGetVolume, no garbage. 2010-05-18 18:42:09 +02:00
Maarten Lankhorst 755c25d84e winealsa.drv: Clean up initialisation. 2010-05-03 17:34:01 +02:00
Jörg Höhle 64b6287e83 winmm: Accept the ancient, smaller MIDIHDR. 2010-02-22 13:18:26 +01:00
Jörg Höhle 3825abbbb7 winealsa: Ignore failure to notify MIDI clients. 2010-02-03 15:49:41 +01:00
Jörg Höhle a758c6a981 winmm: The 64KB buffer limit on MIDIHDR buffers applies to streams only. 2010-02-03 15:49:09 +01:00
Michael Stefaniuc aea94788e4 winealsa.drv: Remove superfluous pointer casts. 2009-01-23 13:14:09 +01:00
Francois Gouget 2166afceb7 Assorted spelling fixes. 2008-12-29 11:36:49 +01:00
Christian Costa 96291a4b0d winealsa.drv: Handle midi sysex greater than a buffer. 2008-12-20 12:13:21 +01:00
Francois Gouget f36172ff14 winealsa.drv: Fix the m[io]dMessage() documentation. 2008-12-19 17:45:32 +01:00
Christian Costa c983cd6423 winealsa.drv: Initialize correctly the header before adding it to the queue. 2008-12-19 17:36:35 +01:00
Francois Gouget c73631280b winealsa: Fix a couple of types and avoid unneeded casts. 2008-12-08 12:05:32 +01:00
Maarten Lankhorst 2614269d93 winealsa.drv: Fix 64-bits incompatibilities. 2008-12-02 15:41:47 +01:00
Maarten Lankhorst 1d9637f5cd winealsa.drv: Get rid of sizeof in traces. 2008-12-02 15:41:03 +01:00
Aric Stewart 2cc258f6c9 winealsa: Don't dereference a potentially NULL value in the WARN statement (Coverity 93). 2008-10-06 14:18:32 +02:00
Rob Shearman a7e1753d7b winealsa.drv: Use CP_UNIXCP instead of CP_ACP for strings obtained from native OS functions. 2008-08-27 13:21:21 +02:00
Christian Costa 9a82c8071d winealsa.drv: Improve midi port names. 2008-08-19 12:16:00 +02:00
Andrew Talbot 687af6b2bc winealsa.drv: Assign to structs instead of using memcpy. 2008-03-25 11:45:01 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Alexandre Julliard 9fce052c54 winealsa.drv: Avoid the alsa alloca macros that cause compiler warnings. 2007-10-29 12:07:52 +01:00
Andrew Talbot 3b47a5732a winealsa.drv: Fix a memory leak. 2007-10-10 11:56:56 +02:00
Ralf Beck 92ef2814eb winealsa.drv: Correct midi input program change + channel aftertouch. 2007-08-07 12:36:57 +02:00
Christian Costa de559d9ce0 winealsa.drv: Fix compilation with old alsa headers. 2007-06-11 13:50:01 +02:00
Christian Costa 11b53529ee winealsa.drv: Use correct tests for synthesizer/port enumeration order. 2007-06-07 23:09:29 +02:00
Ralf Beck 60cde93337 winealsa.drv: Mark every sysex buffer being added. 2007-06-05 10:57:10 +02:00
Ralf Beck 622bad5d3f winealsa.drv: Add missing offset of pitch bender in midi input. 2007-05-25 20:20:44 +02:00
Ralf Beck e1d7365f3d winealsa.drv: Add midi realtime and midi common messages on midi input. 2007-05-25 20:20:36 +02:00
Michał Wiernowolski a45ffebee4 winealsa: Improved handling of SysEx MIDI messages. 2007-04-25 11:50:01 +02:00
Christian Costa 0b43e9b552 winealsa: Recognize alsa application ports as generic midi ports. 2007-02-20 20:11:09 +01:00