mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
Linux: Fixed a MIDI port read/write mixup
This commit is contained in:
parent
1c21f34e21
commit
646aebb77e
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ static AlsaClient::Port* iterateMidiClient (const AlsaClient::Ptr& client,
|
|||
{
|
||||
if (snd_seq_query_next_port (seqHandle, portInfo) == 0
|
||||
&& (snd_seq_port_info_get_capability (portInfo)
|
||||
& (forInput ? SND_SEQ_PORT_CAP_SUBS_WRITE : SND_SEQ_PORT_CAP_SUBS_READ)) != 0)
|
||||
& (forInput ? SND_SEQ_PORT_CAP_SUBS_READ : SND_SEQ_PORT_CAP_SUBS_WRITE)) != 0)
|
||||
{
|
||||
const String portName = snd_seq_port_info_get_name(portInfo);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue