diff --git a/audio/drumstick/files/patch-library_rt-backends_oss-in_ossinput__p.cpp b/audio/drumstick/files/patch-library_rt-backends_oss-in_ossinput__p.cpp new file mode 100644 index 0000000000000..d4365c67bb649 --- /dev/null +++ b/audio/drumstick/files/patch-library_rt-backends_oss-in_ossinput__p.cpp @@ -0,0 +1,14 @@ +--- library/rt-backends/oss-in/ossinput_p.cpp ++++ library/rt-backends/oss-in/ossinput_p.cpp +@@ -43,9 +43,9 @@ + QDir dir("/dev"); + QStringList filters; + m_advanced = advanced; +- filters << "dmmidi*" << "admmidi*"; ++ filters << "midi*" << "umidi*"; + if (advanced) { +- filters << "midi*" << "amidi*"; ++ filters << "amidi*" << "admmidi*" << "dmmidi*"; + } + dir.setNameFilters(filters); + dir.setFilter(QDir::System); diff --git a/audio/drumstick/files/patch-library_rt-backends_oss-out_ossoutput.cpp b/audio/drumstick/files/patch-library_rt-backends_oss-out_ossoutput.cpp new file mode 100644 index 0000000000000..45f7197ef26d4 --- /dev/null +++ b/audio/drumstick/files/patch-library_rt-backends_oss-out_ossoutput.cpp @@ -0,0 +1,14 @@ +--- library/rt-backends/oss-out/ossoutput.cpp ++++ library/rt-backends/oss-out/ossoutput.cpp +@@ -53,9 +53,9 @@ + QDir dir("/dev"); + QStringList filters; + m_advanced = advanced; +- filters << "dmmidi*" << "admmidi*"; ++ filters << "midi*" << "umidi*"; + if (advanced) { +- filters << "midi*" << "amidi*"; ++ filters << "amidi*" << "admmidi*" << "dmmidi*"; + } + dir.setNameFilters(filters); + dir.setFilter(QDir::System);