shithub: opl2

Download patch

ref: 4c35e23154c0e1b43b481a137fa15f2d5e0a7f76
parent: 580f6a42275dae8de4c1733780e8ab88935b4937
author: qwx <[email protected]>
date: Tue May 4 08:28:42 EDT 2021

graceful exit after pcmconv is done

--- a/opl2m.c
+++ b/opl2m.c
@@ -76,5 +76,7 @@
 	}
 	if(n < 0)
 		sysfatal("read: %r");
+	close(pfd[1]);
+	waitpid();
 	exits(nil);
 }