From 8bf64f9a14fd9976628b589684d0b8d9a96a8162 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 25 Sep 2015 18:49:14 -0400 Subject: [PATCH] cmAudDsp.c : Added call to cmDspPgmJsonToDot() following cmDspSysPrintPgm(). --- cmAudDsp.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmAudDsp.c b/cmAudDsp.c index 497783e..8c39c2a 100644 --- a/cmAudDsp.c +++ b/cmAudDsp.c @@ -30,7 +30,7 @@ #include "dsp/cmDspClass.h" #include "dsp/cmDspSys.h" #include "cmAudDsp.h" - +#include "cmDspPgmJsonToDot.h" 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 ) 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; }