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 ...@@ -218,7 +218,9 @@ typedef struct midi_src
MIDIHDR *lpQueueHdr; MIDIHDR *lpQueueHdr;
UINT startTime; UINT startTime;
MIDIINCAPSW caps; MIDIINCAPSW caps;
snd_seq_t *seq;
snd_seq_addr_t addr; snd_seq_addr_t addr;
int port_in;
} WINE_MIDIIN; } WINE_MIDIIN;
typedef struct midi_dest typedef struct midi_dest
...@@ -227,6 +229,7 @@ typedef struct midi_dest ...@@ -227,6 +229,7 @@ typedef struct midi_dest
MIDIOPENDESC midiDesc; MIDIOPENDESC midiDesc;
WORD wFlags; WORD wFlags;
MIDIOUTCAPSW caps; MIDIOUTCAPSW caps;
snd_seq_t *seq;
snd_seq_addr_t addr; snd_seq_addr_t addr;
int port_out; int port_out;
} WINE_MIDIOUT; } 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