Lines Matching defs:cb1
190 DWORD cb1, DWORD cb2)
192 HRESULT hr = IDirectSoundBuffer_Unlock(pDSB, pv1, cb1, pv2, cb2);
202 DWORD cb1, DWORD cb2)
204 HRESULT hr = IDirectSoundCaptureBuffer_Unlock(pDSCB, pv1, cb1, pv2, cb2);
222 DWORD cb1 = 0;
225 HRESULT hr = IDirectSoundBuffer_Lock(pDSB, dwOffset, dwBytes, &pv1, &cb1, &pv2, &cb2, dwFlags);
231 hr = IDirectSoundBuffer_Lock(pDSB, dwOffset, dwBytes, &pv1, &cb1, &pv2, &cb2, dwFlags);
241 if ( (pv1 && (cb1 & pProps->uAlign))
244 DSLOG(("DSound: lock output returned misaligned buffer: cb1=%d, cb2=%d\n", cb1, cb2));
245 dsoundUnlockOutput(pDSB, pv1, pv2, cb1, cb2);
251 *pcb1 = cb1;
265 DWORD cb1 = 0;
269 &pv1, &cb1, &pv2, &cb2, dwFlags);
276 if ( (pv1 && (cb1 & pProps->uAlign))
279 DSLOG(("DSound: lock input returned misaligned buffer: cb1=%d, cb2=%d\n", cb1, cb2));
280 dsoundUnlockInput(pDSCB, pv1, pv2, cb1, cb2);
286 *pcb1 = cb1;
478 DWORD cb1, cb2;
481 &pv1, &pv2, &cb1, &cb2, DSBLOCK_ENTIREBUFFER);
484 int len1 = cb1 >> pDSoundStrmOut->hw.Props.cShift;
493 dsoundUnlockOutput(pDSoundStrmOut->pDSB, pv1, pv2, cb1, cb2);
1151 DWORD cb1, cb2;
1153 &pv1, &pv2, &cb1, &cb2, 0 /* dwFlags */);
1161 DWORD len1 = cb1 >> cShift;
1167 if (pv1 && cb1)
1169 rc = audioMixBufReadCirc(&pHstStrmOut->MixBuf, pv1, cb1, &cRead);
1183 dsoundUnlockOutput(pDSB, pv1, pv2, cb1, cb2);
1374 DWORD cb1, cb2;
1378 &pv1, &pv2, &cb1, &cb2,
1387 DWORD len1 = cb1 >> pHstStrmIn->Props.cShift;
1395 pv1, cb1, &csWritten);
1410 dsoundUnlockInput(pDSCB, pv1, pv2, cb1, cb2);