Kaynağa Gözat

cmDspSys.c : Added instance labels for some error messages.

master
Kevin Larke 10 yıl önce
ebeveyn
işleme
a1b8e4c739
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      dsp/cmDspSys.c

+ 2
- 2
dsp/cmDspSys.c Dosyayı Görüntüle

@@ -1161,7 +1161,7 @@ cmDspRC_t _cmDspSysConnAudio( cmDsp_t* p, cmDspInst_t* srcInstPtr, unsigned srcV
1161 1161
   //cmSample_t* srcDataPtr;
1162 1162
 
1163 1163
   if( srcInstPtr == NULL )
1164
-    return cmErrMsg(&p->err,kInstNotFoundDspRC,"The audio connection process was passed a NULL source processor instance pointer for connection to '%s'.",cmStringNullGuard(dstInstPtr->classPtr->labelStr));
1164
+    return cmErrMsg(&p->err,kInstNotFoundDspRC,"The audio connection process was passed a NULL source processor instance pointer for connection to '%s' Destination Instance:%s.",cmStringNullGuard(dstInstPtr->classPtr->labelStr),cmStringNullGuard(cmSymTblLabel(p->stH,dstInstPtr->symId)));
1165 1165
 
1166 1166
   if( dstInstPtr == NULL )
1167 1167
     return cmErrMsg(&p->err,kInstNotFoundDspRC,"The audio connection process was passed a NULL destination processor instance pointer for connection from '%s'.",cmStringNullGuard(srcInstPtr->classPtr->labelStr));
@@ -1203,7 +1203,7 @@ cmDspRC_t cmDspSysConnectAudio( cmDspSysH_t h, cmDspInst_t* srcInstPtr, const cm
1203 1203
     return cmErrMsg(&p->err,kInstNotFoundDspRC,"The audio connection process was passed a NULL source and destination processor instance.");
1204 1204
 
1205 1205
   if( srcInstPtr == NULL )
1206
-    return cmErrMsg(&p->err,kInstNotFoundDspRC,"The audio connection process was passed a NULL source processor instance pointer for connection to '%s'.",cmStringNullGuard(dstInstPtr->classPtr->labelStr));
1206
+    return cmErrMsg(&p->err,kInstNotFoundDspRC,"The audio connection process was passed a NULL source processor instance pointer for connection to '%s' Destination Instance:%s.",cmStringNullGuard(dstInstPtr->classPtr->labelStr),cmStringNullGuard(cmSymTblLabel(p->stH,dstInstPtr->symId)));
1207 1207
 
1208 1208
   if( dstInstPtr == NULL )
1209 1209
     return cmErrMsg(&p->err,kInstNotFoundDspRC,"The audio connection process was passed a NULL destination processor instance pointer for connection from '%s'.",cmStringNullGuard(srcInstPtr->classPtr->labelStr));

Loading…
İptal
Kaydet