Przeglądaj źródła

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

master
kevin 9 lat temu
rodzic
commit
8bf64f9a14
1 zmienionych plików z 6 dodań i 1 usunięć
  1. 6
    1
      cmAudDsp.c

+ 6
- 1
cmAudDsp.c Wyświetl plik

@@ -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
     }

Ładowanie…
Anuluj
Zapisz