diff options
author | Takashi Iwai <tiwai@suse.de> | 2001-07-12 16:37:38 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2001-07-12 16:37:38 +0000 |
commit | ed07d2e32ab9129df05fcbbf8375cf1a00e6d403 (patch) | |
tree | 6fa5b9f6d3ab0a856c1490bb28e15682d603b217 /seq | |
parent | 99137b4df7793f533b90ff230dd06c039f6535ce (diff) | |
download | alsa-utils-ed07d2e32ab9129df05fcbbf8375cf1a00e6d403.tar.gz |
Fixed thinkos. Now -x should work well.
Diffstat (limited to 'seq')
-rw-r--r-- | seq/aconnect/aconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c index 56a4ac2..8b4b4f9 100644 --- a/seq/aconnect/aconnect.c +++ b/seq/aconnect/aconnect.c @@ -203,7 +203,7 @@ static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *cinfo, snd_seq_port_info_alloca(&port); if (snd_seq_get_any_port_info(seq, dest->client, dest->port, port) < 0) continue; - if (!(snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_SUBS_READ)) + if (!(snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_SUBS_WRITE)) continue; if (snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_NO_EXPORT) continue; @@ -225,7 +225,7 @@ static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *cinfo, snd_seq_port_info_alloca(&port); if (snd_seq_get_any_port_info(seq, sender->client, sender->port, port) < 0) continue; - if (!(snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_SUBS_WRITE)) + if (!(snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_SUBS_READ)) continue; if (snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_NO_EXPORT) continue; |