From 25d663722bf49520d78619a0c6e7d4df1e1de3d0 Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 7 Oct 2020 10:56:07 -0400 Subject: [PATCH] cwAudioFileOps.cpp : Fixed error message text. --- cwAudioFileOps.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cwAudioFileOps.cpp b/cwAudioFileOps.cpp index 3c2376f..41e586c 100644 --- a/cwAudioFileOps.cpp +++ b/cwAudioFileOps.cpp @@ -743,7 +743,6 @@ cw::rc_t cw::afop::transformApp( const object_t* cfg ) expDryFn = filesys::expandPath(dryFn); expDstPreFn = filesys::expandPath(dstPreFn); expDstRevFn = filesys::expandPath(dstRevFn); - expIrFn = filesys::expandPath(irFn); if( argNodeL == nullptr ) @@ -794,8 +793,10 @@ cw::rc_t cw::afop::transformApp( const object_t* cfg ) mem::release( const_cast(argL[i].srcFn)); if( rc == kOkRC && irEnableFl ) + { + expIrFn = filesys::expandPath(irFn); rc = convolve( expDstRevFn, dstBits, expDstPreFn, expIrFn, irScale ); - + } } errLabel: @@ -809,7 +810,7 @@ cw::rc_t cw::afop::transformApp( const object_t* cfg ) mem::release(expIrFn); if( rc != kOkRC ) - rc = cwLogError(rc,"Parallel-mix failed."); + rc = cwLogError(rc,"Transform-app failed."); return rc; }