shithub: neindaw

Download patch

ref: f467980d92944c628586c300036e26899acf24ba
parent: d654397d87dff31fa573754dba4911b5e8f71231
author: Sigrid Haflínudóttir <[email protected]>
date: Wed May 13 07:33:19 EDT 2020

dsp: setfcr to avoid exceptions

--- a/dsp/main.c
+++ b/dsp/main.c
@@ -193,6 +193,8 @@
 	if (srv == nil && mtpt == nil)
 		sysfatal("must specify -s or -m option");
 
+	setfcr(FPPDBL|FPRNR);
+
 	mg.declare = addmeta;
 	dspf = class_init(rate);
 	dspf->metadata(&mg);