Browse Source

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

master
kevin 9 years ago
parent
commit
8bf64f9a14
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      cmAudDsp.c

+ 6
- 1
cmAudDsp.c View File

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

Loading…
Cancel
Save