cmAudDsp.c : Added call to cmDspPgmJsonToDot() following cmDspSysPrintPgm().

This commit is contained in:
kevin 2015-09-25 18:49:14 -04:00
parent 6c792e240d
commit 8bf64f9a14

View File

@ -30,7 +30,7 @@
#include "dsp/cmDspClass.h" #include "dsp/cmDspClass.h"
#include "dsp/cmDspSys.h" #include "dsp/cmDspSys.h"
#include "cmAudDsp.h" #include "cmAudDsp.h"
#include "cmDspPgmJsonToDot.h"
cmAdH_t cmAdNullHandle = cmSTATIC_NULL_HANDLE; cmAdH_t cmAdNullHandle = cmSTATIC_NULL_HANDLE;
@ -1005,6 +1005,11 @@ cmAdRC_t _cmAudDspPrintPgm( cmAd_t* p, unsigned asSubSysIdx, const cmChar_t* fn
{ {
if( cmDspSysPrintPgm(p->dsSsArray[i].dsH,fn) != kOkDspRC ) if( cmDspSysPrintPgm(p->dsSsArray[i].dsH,fn) != kOkDspRC )
rc = cmErrMsg(&p->err,kDspSysFailAdRC,"The program print failed."); rc = cmErrMsg(&p->err,kDspSysFailAdRC,"The program print failed.");
else
{
if( cmDspPgmJsonToDot(&p->ctx,fn,fn) != kOkDspRC )
rc = cmErrMsg(&p->err,kDspSysFailAdRC,"The program print conversion to DOT failed.");
}
break; break;
} }