Fix midi input port capabilities
This commit is contained in:
parent
01139e235f
commit
07fa910513
|
@ -75,7 +75,7 @@ MidiDeviceList AlsaMidiInPort::availableDevices() const
|
|||
std::lock_guard lock(m_devicesMutex);
|
||||
|
||||
int streams = SND_SEQ_OPEN_INPUT;
|
||||
unsigned int cap = SND_SEQ_PORT_CAP_SUBS_WRITE | SND_SEQ_PORT_CAP_WRITE;
|
||||
unsigned int cap = SND_SEQ_PORT_CAP_SUBS_READ | SND_SEQ_PORT_CAP_READ;
|
||||
unsigned int type = SND_SEQ_PORT_TYPE_PORT | SND_SEQ_PORT_TYPE_HARDWARE;
|
||||
|
||||
MidiDeviceList ret;
|
||||
|
|
Loading…
Reference in a new issue