Lines Matching defs:pThisStrmOut

352     POSSAUDIOSTREAMOUT pThisStrmOut = (POSSAUDIOSTREAMOUT)pHstStrmOut;
357 if (!pThisStrmOut->fMemMapped)
368 pThisStrmOut->pvPCMBuf, audioMixBufSize(&pHstStrmOut->MixBuf));
371 if (ioctl(pThisStrmOut->hFile, SNDCTL_DSP_SETTRIGGER, &mask) < 0)
383 if (ioctl(pThisStrmOut->hFile, SNDCTL_DSP_SETTRIGGER, &mask) < 0)
529 POSSAUDIOSTREAMOUT pThisStrmOut = (POSSAUDIOSTREAMOUT)pHstStrmOut;
534 if (!pThisStrmOut->fMemMapped)
536 if (pThisStrmOut->pvPCMBuf)
538 RTMemFree(pThisStrmOut->pvPCMBuf);
539 pThisStrmOut->pvPCMBuf = NULL;
645 POSSAUDIOSTREAMOUT pThisStrmOut = (POSSAUDIOSTREAMOUT)pHstStrmOut;
670 pThisStrmOut->hFile = hFile;
687 pThisStrmOut->fMemMapped = false;
690 pThisStrmOut->pvPCMBuf = mmap(0, cSamples << pHstStrmOut->Props.cShift,
692 if (pThisStrmOut->pvPCMBuf == MAP_FAILED)
720 pThisStrmOut->fMemMapped = true;
723 if (!pThisStrmOut->fMemMapped)
725 int rc2 = munmap(pThisStrmOut->pvPCMBuf,
739 if (!pThisStrmOut->fMemMapped)
743 pThisStrmOut->pvPCMBuf = RTMemAlloc(cSamples * (1 << pHstStrmOut->Props.cShift));
744 if (!pThisStrmOut->pvPCMBuf)
780 POSSAUDIOSTREAMOUT pThisStrmOut = (POSSAUDIOSTREAMOUT)pHstStrmOut;
795 if (pThisStrmOut->fMemMapped)
798 int rc2 = ioctl(pThisStrmOut->hFile, SNDCTL_DSP_GETOPTR, &cntinfo);
808 if (cntinfo.ptr == pThisStrmOut->old_optr)
812 if (cntinfo.ptr > pThisStrmOut->old_optr)
813 cbData = cntinfo.ptr - pThisStrmOut->old_optr;
815 cbData = cbBuf + cntinfo.ptr - pThisStrmOut->old_optr;
825 int rc2 = ioctl(pThisStrmOut->hFile, SNDCTL_DSP_GETOSPACE, &abinfo);
864 pThisStrmOut->pvPCMBuf, cbToRead, &cRead);
869 ssize_t cbWritten = write(pThisStrmOut->hFile, pThisStrmOut->pvPCMBuf,
885 if (pThisStrmOut->fMemMapped)
886 pThisStrmOut->old_optr = cntinfo.ptr;