working on win32 uwp! and libremidi update
This commit is contained in:
@@ -7,8 +7,10 @@ namespace libremidi::alsa_raw_ump
|
||||
{
|
||||
struct midi2_enumerator : alsa_raw::enumerator
|
||||
{
|
||||
using alsa_raw::enumerator::enumerator;
|
||||
void enumerate_devices(int card) override
|
||||
{
|
||||
using namespace std::literals;
|
||||
char name[128];
|
||||
|
||||
sprintf(name, "hw:%d", card);
|
||||
@@ -28,10 +30,8 @@ struct midi2_enumerator : alsa_raw::enumerator
|
||||
|
||||
if (status < 0)
|
||||
{
|
||||
error(
|
||||
"alsa_raw_ump::midi2_enumerator::enumerate_devices: "
|
||||
"cannot determine device number: ",
|
||||
snd.strerror(status));
|
||||
handler.libremidi_handle_error(
|
||||
configuration, "Cannot determine device number: "s + snd.strerror(status));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user