Lines Matching refs:pHstStrmIn

1220                                              PPDMAUDIOHSTSTRMIN pHstStrmIn, PPDMAUDIOSTREAMCFG pCfg,
1225 PDSOUNDSTREAMIN pDSoundStrmIn = (PDSOUNDSTREAMIN)pHstStrmIn;
1227 LogFlowFunc(("pHstStrmIn=%p, pAudioSettings=%p, enmRecSource=%ld\n",
1228 pHstStrmIn, pCfg, enmRecSource));
1234 int rc = drvAudioStreamCfgToProps(&pDSoundStrmIn->streamCfg, &pHstStrmIn->Props);
1246 *pcSamples = pThis->cfg.cbBufferIn >> pHstStrmIn->Props.cShift;
1260 static DECLCALLBACK(int) drvHostDSoundControlIn(PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMIN pHstStrmIn,
1264 AssertPtrReturn(pHstStrmIn, VERR_INVALID_POINTER);
1266 LogFlowFunc(("pHstStrmIn=%p, enmStreamCmd=%ld\n", pHstStrmIn, enmStreamCmd));
1269 PDSOUNDSTREAMIN pDSoundStrmIn = (PDSOUNDSTREAMIN)pHstStrmIn;
1303 static DECLCALLBACK(int) drvHostDSoundCaptureIn(PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMIN pHstStrmIn,
1307 PDSOUNDSTREAMIN pDSoundStrmIn = (PDSOUNDSTREAMIN)pHstStrmIn;
1336 if (cbReadPos & pHstStrmIn->Props.uAlign)
1338 DSLOG(("DSound: CaptureIn misaligned read position %d(%d)\n", cbReadPos, pHstStrmIn->Props.uAlign));
1342 int csReadPos = cbReadPos >> pHstStrmIn->Props.cShift;
1354 audioMixBufReset(&pHstStrmIn->MixBuf);
1357 uint32_t csMixFree = audioMixBufFree(&pHstStrmIn->MixBuf);
1375 rc = dsoundLockInput(pDSCB, &pHstStrmIn->Props,
1376 pDSoundStrmIn->csCaptureReadPos << pHstStrmIn->Props.cShift,
1377 csCaptured << pHstStrmIn->Props.cShift,
1387 DWORD len1 = cb1 >> pHstStrmIn->Props.cShift;
1388 DWORD len2 = cb2 >> pHstStrmIn->Props.cShift;
1394 rc = audioMixBufWriteAt(&pHstStrmIn->MixBuf, 0 /* offWrite */,
1404 rc = audioMixBufWriteAt(&pHstStrmIn->MixBuf, csWrittenTotal,
1416 rc = audioMixBufMixToParent(&pHstStrmIn->MixBuf, csWrittenTotal,
1433 static DECLCALLBACK(int) drvHostDSoundFiniIn(PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMIN pHstStrmIn)
1436 PDSOUNDSTREAMIN pDSoundStrmIn = (PDSOUNDSTREAMIN)pHstStrmIn;