Page 1 of 1

[RESOLVED] THD gap correction with multiple instances

Posted: Thu Aug 13, 2020 4:58 am
by Guest
I noticed that when doing gaps correction DGDemux creates a temp.thd file.
With the new capability of multiple running instances, does DGDemux create unique file names for the temp file if more than one instance is doing gaps correction?

EDIT
Appears that only one temp.thd file is created

EDIT 2
Starts out doing gaps correction for two files but only one final thd file is created

2 THD files >> gaps correction >> 1 THD file

Re: THD gap correction

Posted: Thu Aug 13, 2020 10:26 am
by Rocky
Ooh, that's not good. I'll fix that up right away. Thanks for pointing it out.

Re: THD gap correction

Posted: Fri Aug 14, 2020 8:45 am
by Rocky
OK, I added the current process ID to the temp name, so that will fix that.

Now, on a related matter. If you run two instances and they both want to make a file with the same name we would have a problem. So I think of two possibilities:

1. Just warn the user in the user manual to use a different output name.

2. Default the name to the process ID.

I'm leaning toward 2. Any thoughts?

Re: THD gap correction

Posted: Fri Aug 14, 2020 3:04 pm
by Guest
Number 2 would probably work best.
Wonder how many users don't read the manual?

Re: THD gap correction

Posted: Fri Aug 14, 2020 5:49 pm
by Rocky
True that. 2 it is.

Re: THD gap correction

Posted: Sat Aug 15, 2020 10:04 am
by Rocky
Fixed in slipstream 37.