Changeset 63593 in vbox
- Timestamp:
- Aug 19, 2016 10:02:37 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110291
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixer.cpp
r63362 r63593 1090 1090 if (pSink->enmDir == AUDMIXSINKDIR_INPUT) 1091 1091 { 1092 rc = pConn->pfnStreamCapture(pConn, p MixStream->pStream, &cCaptured);1092 rc = pConn->pfnStreamCapture(pConn, pStream, &cCaptured); 1093 1093 if (RT_FAILURE(rc2)) 1094 1094 { 1095 LogFlowFunc(("%s: Failed capturing stream '%s', rc=%Rrc\n", pSink->pszName, p MixStream->pStream->szName, rc2));1095 LogFlowFunc(("%s: Failed capturing stream '%s', rc=%Rrc\n", pSink->pszName, pStream->szName, rc2)); 1096 1096 if (RT_SUCCESS(rc)) 1097 1097 rc = rc2; … … 1104 1104 else if (pSink->enmDir == AUDMIXSINKDIR_OUTPUT) 1105 1105 { 1106 rc2 = pConn->pfnStreamPlay(pConn, p MixStream->pStream, NULL /* cPlayed */);1106 rc2 = pConn->pfnStreamPlay(pConn, pStream, NULL /* cPlayed */); 1107 1107 if (RT_FAILURE(rc2)) 1108 1108 { 1109 LogFlowFunc(("%s: Failed playing stream '%s', rc=%Rrc\n", pSink->pszName, p MixStream->pStream->szName, rc2));1109 LogFlowFunc(("%s: Failed playing stream '%s', rc=%Rrc\n", pSink->pszName, pStream->szName, rc2)); 1110 1110 if (RT_SUCCESS(rc)) 1111 1111 rc = rc2; … … 1122 1122 if (RT_FAILURE(rc2)) 1123 1123 { 1124 LogFlowFunc(("%s: Failed re-iterating stream '%s', rc=%Rrc\n", pSink->pszName, p MixStream->pStream->szName, rc2));1124 LogFlowFunc(("%s: Failed re-iterating stream '%s', rc=%Rrc\n", pSink->pszName, pStream->szName, rc2)); 1125 1125 if (RT_SUCCESS(rc)) 1126 1126 rc = rc2; … … 1128 1128 } 1129 1129 1130 PDMAUDIOSTRMSTS strmSts = pConn->pfnStreamGetStatus(pConn, p MixStream->pStream);1130 PDMAUDIOSTRMSTS strmSts = pConn->pfnStreamGetStatus(pConn, pStream); 1131 1131 1132 1132 /* Is the stream not enabled and also is not in a pending disable state anymore? */ … … 1144 1144 if (uCurLUN == 0) 1145 1145 { 1146 pSink->In.cbReadable = pConn->pfnStreamGetReadable(pConn, p MixStream->pStream);1147 Log3Func(("\t%s: cbReadable=%RU32\n", p MixStream->pStream->szName, pSink->In.cbReadable));1146 pSink->In.cbReadable = pConn->pfnStreamGetReadable(pConn, pStream); 1147 Log3Func(("\t%s: cbReadable=%RU32\n", pStream->szName, pSink->In.cbReadable)); 1148 1148 uCurLUN++; 1149 1149 } … … 1157 1157 if (uCurLUN == 0) 1158 1158 { 1159 pSink->Out.cbWritable = pConn->pfnStreamGetWritable(pConn, p MixStream->pStream);1160 Log3Func(("\t%s: cbWritable=%RU32\n", p MixStream->pStream->szName, pSink->Out.cbWritable));1159 pSink->Out.cbWritable = pConn->pfnStreamGetWritable(pConn, pStream); 1160 Log3Func(("\t%s: cbWritable=%RU32\n", pStream->szName, pSink->Out.cbWritable)); 1161 1161 uCurLUN++; 1162 1162 } … … 1165 1165 } 1166 1166 1167 Log3Func(("\t%s: cCaptured=%RU32\n", p MixStream->pStream->szName, cCaptured));1167 Log3Func(("\t%s: cCaptured=%RU32\n", pStream->szName, cCaptured)); 1168 1168 } 1169 1169
Note:
See TracChangeset
for help on using the changeset viewer.