Fix ALSA MIDI device naming
authorRobin Gareus <robin@gareus.org>
Fri, 10 May 2019 11:21:22 +0000 (13:21 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 10 May 2019 11:21:22 +0000 (13:21 +0200)
commit7e56812c5590aa0d400835b746713dbf4c4cc1e7
tree7c1e564df74f2c29e304a0c6f3dc8000755d8d52
parent9ac18a8e0ff50e31654d169b4a6ee331814a8045
Fix ALSA MIDI device naming

The backend will replace the information in the last bracket (IO)
of the name with (In/Out) when creating pretty port-names from the
device-name. -- see replace_name_io().

This fixes an issue with device-name number suffixes in brackets.
libs/ardouralsautil/devicelist.cc