[RESOLVED] THD gap correction with multiple instances

Post Reply
DAE avatar
Guest

[RESOLVED] THD gap correction with multiple instances

Post 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
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: THD gap correction

Post by Rocky »

Ooh, that's not good. I'll fix that up right away. Thanks for pointing it out.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: THD gap correction

Post 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?
DAE avatar
Guest

Re: THD gap correction

Post by Guest »

Number 2 would probably work best.
Wonder how many users don't read the manual?
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: THD gap correction

Post by Rocky »

True that. 2 it is.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: THD gap correction

Post by Rocky »

Fixed in slipstream 37.
Post Reply