Lines Matching refs:pHstStrmIn

781 static DECLCALLBACK(int) drvHostALSAAudioCaptureIn(PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMIN pHstStrmIn,
785 AssertPtrReturn(pHstStrmIn, VERR_INVALID_POINTER);
787 PALSAAUDIOSTREAMIN pThisStrmIn = (PALSAAUDIOSTREAMIN)pHstStrmIn;
803 cAvail = audioMixBufFree(&pHstStrmIn->MixBuf);
830 size_t cbToRead = AUDIOMIXBUF_S2B(&pHstStrmIn->MixBuf, cAvail);
841 cToRead = RT_MIN(AUDIOMIXBUF_B2S(&pHstStrmIn->MixBuf, cbToRead),
842 AUDIOMIXBUF_B2S(&pHstStrmIn->MixBuf, pThisStrmIn->cbBuf));
884 rc = audioMixBufWriteCirc(&pHstStrmIn->MixBuf,
885 pThisStrmIn->pvBuf, AUDIOMIXBUF_S2B(&pHstStrmIn->MixBuf, cRead),
890 uint32_t cbWritten = AUDIOMIXBUF_S2B(&pHstStrmIn->MixBuf, cWritten);
902 rc = audioMixBufMixToParent(&pHstStrmIn->MixBuf, cWrittenTotal,
1026 static DECLCALLBACK(int) drvHostALSAAudioFiniIn(PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMIN pHstStrmIn)
1029 AssertPtrReturn(pHstStrmIn, VERR_INVALID_POINTER);
1031 PALSAAUDIOSTREAMIN pThisStrmIn = (PALSAAUDIOSTREAMIN)pHstStrmIn;
1133 PPDMAUDIOHSTSTRMIN pHstStrmIn, PPDMAUDIOSTREAMCFG pCfg,
1138 AssertPtrReturn(pHstStrmIn, VERR_INVALID_POINTER);
1143 PALSAAUDIOSTREAMIN pThisStrmIn = (PALSAAUDIOSTREAMIN)pHstStrmIn;
1172 rc = drvAudioStreamCfgToProps(&streamCfg, &pHstStrmIn->Props);
1177 size_t cbBuf = obt.samples * (1 << pHstStrmIn->Props.cShift);
1183 obt.samples, 1 << pHstStrmIn->Props.cShift));
1210 static DECLCALLBACK(int) drvHostALSAAudioControlIn(PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMIN pHstStrmIn,
1214 AssertPtrReturn(pHstStrmIn, VERR_INVALID_POINTER);
1215 PALSAAUDIOSTREAMIN pThisStrmIn = (PALSAAUDIOSTREAMIN)pHstStrmIn;