diff --git a/InOut/rtalsa.c b/InOut/rtalsa.c index 3263b7aa7..73aa04892 100644 --- a/InOut/rtalsa.c +++ b/InOut/rtalsa.c @@ -1445,7 +1445,7 @@ static int alsaseq_in_read(CSOUND *csound, return 0; else err = snd_midi_event_decode(amidi->mev, buf, nbytes, ev); - return err; + return (err==-ENOENT)?0:err; } static int alsaseq_in_close(CSOUND *csound, void *userData) Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here