Commit 8656ec92 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winealsa: Store the snd_seq handle and the input port in the device data.

This is to avoid accessing more global variables and generally makes things a bit cleaner. Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com> Signed-off-by: 's avatarAndrew Eikum <aeikum@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent a2eb8b31
......@@ -218,7 +218,9 @@ typedef struct midi_src
MIDIHDR *lpQueueHdr;
UINT startTime;
MIDIINCAPSW caps;
snd_seq_t *seq;
snd_seq_addr_t addr;
int port_in;
} WINE_MIDIIN;
typedef struct midi_dest
......@@ -227,6 +229,7 @@ typedef struct midi_dest
MIDIOPENDESC midiDesc;
WORD wFlags;
MIDIOUTCAPSW caps;
snd_seq_t *seq;
snd_seq_addr_t addr;
int port_out;
} WINE_MIDIOUT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment