]> git.alsa-project.org Git - alsa-lib.git/commit
rawmidi: Suppress error messages for non-fatal errors
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 Aug 2023 12:29:03 +0000 (14:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Aug 2023 12:29:03 +0000 (14:29 +0200)
commit403d687b95d9ac1008ef03ca3e1aa0b63c4aaff6
treee9e4f19a92ee7a80277d88eff55a7fd8d2a66ca7
parent58da05803b1851ff5661cccb5b8ba11f7a8a6e53
rawmidi: Suppress error messages for non-fatal errors

Align the behavior of rawmidi errors at open & co with PCM, i.e. use
SYSMSG() instead of SYSERR() for suppressing the error messages as
default.

Closes: https://github.com/alsa-project/alsa-lib/issues/344
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/rawmidi/rawmidi_hw.c