I’m implementing stem export for a tracktion edit. I set the separateTracks property. Since my edit is not part of a project, I set the category to none. For the filename I pass in an unexisting wav file path. It seems that the render uses this path to choose a directory to write the stems to although the use of the file path in the context of a stem export is not documented.
For some reason, the jobFinished argument completedOk is always false even though the render seems fine.
Are you able to dig through and see why it’s not set as completedOk?
Are the individual task progresses not reaching 1.0f for some reason? Can you print them out on line 183 of EditRenderJob::RenderPass::~RenderPass() and see what task->getCurrentTaskProgress() is? I’m wondering if it’s a compare to float issue.
I found during debugging that result.items is empty and the proxy file contains the wav file that I pass in which doesn’t exist. Am I assigning parameters.destFile to a correct path?
Unfortunately not, I’m deep in some time-stretching stuff at the moment which I need to get finished.
If you want to speed things up, filing a GitHub issue with a corresponding failing UnitTest would be a huge help (I detailed this here).
Providing failing tests is the best way to be very explicit about problems and automatically gives an acceptance criteria. So that would be a huge help.