mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
alsa-seq: keep track of last port
Keep track of the last port and only iterate until that port.
This commit is contained in:
parent
b3bddb853f
commit
74665de68e
3 changed files with 19 additions and 9 deletions
|
|
@ -94,6 +94,7 @@ struct seq_stream {
|
|||
unsigned int caps;
|
||||
snd_midi_event_t *codec;
|
||||
struct seq_port ports[MAX_PORTS];
|
||||
uint32_t last_port;
|
||||
};
|
||||
|
||||
struct seq_conn {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue