Lines Matching refs:hStream
101 static DSP_STATUS GetStrmInfo(DSP_HSTREAM hStream, struct STRM_INFO *pStrmInfo,
109 DBAPI DSPStream_AllocateBuffers(DSP_HSTREAM hStream, UINT uSize, in DSPStream_AllocateBuffers() argument
122 if (!hStream) { in DSPStream_AllocateBuffers()
142 status = GetStrmInfo(hStream, &strmInfo, sizeof(struct DSP_STREAMINFO)); in DSPStream_AllocateBuffers()
152 tempStruct.ARGS_STRM_ALLOCATEBUFFER.hStream = hStream; in DSPStream_AllocateBuffers()
187 DBAPI DSPStream_Close(DSP_HSTREAM hStream) in DSPStream_Close() argument
201 if (!hStream) { in DSPStream_Close()
210 status = GetStrmInfo(hStream, &strmInfo, sizeof(struct DSP_STREAMINFO)); in DSPStream_Close()
252 tempStruct.ARGS_STRM_GETEVENTHANDLE.hStream = hStream; in DSPStream_Close()
260 tempStruct.ARGS_STRM_CLOSE.hStream = hStream; in DSPStream_Close()
276 DBAPI DSPStream_FreeBuffers(DSP_HSTREAM hStream, IN BYTE **apBuffer, in DSPStream_FreeBuffers() argument
288 if (!hStream) { in DSPStream_FreeBuffers()
305 status = GetStrmInfo(hStream, &strmInfo, sizeof(struct DSP_STREAMINFO)); in DSPStream_FreeBuffers()
315 tempStruct.ARGS_STRM_FREEBUFFER.hStream = hStream; in DSPStream_FreeBuffers()
348 DBAPI DSPStream_GetInfo(DSP_HSTREAM hStream, in DSPStream_GetInfo() argument
357 status = GetStrmInfo(hStream, &strmInfo, uStreamInfoSize); in DSPStream_GetInfo()
371 DBAPI DSPStream_Idle(DSP_HSTREAM hStream, bool bFlush) in DSPStream_Idle() argument
378 if (hStream) { in DSPStream_Idle()
381 tempStruct.ARGS_STRM_IDLE.hStream = hStream; in DSPStream_Idle()
398 DBAPI DSPStream_Issue(DSP_HSTREAM hStream, IN BYTE *pBuffer, in DSPStream_Issue() argument
406 if (hStream) { in DSPStream_Issue()
417 tempStruct.ARGS_STRM_ISSUE.hStream = hStream; in DSPStream_Issue()
613 DBAPI DSPStream_PrepareBuffer(DSP_HSTREAM hStream, UINT uSize, BYTE *pBuffer) in DSPStream_PrepareBuffer() argument
624 if (!hStream) in DSPStream_PrepareBuffer()
657 DBAPI DSPStream_Reclaim(DSP_HSTREAM hStream, OUT BYTE **pBufPtr, in DSPStream_Reclaim() argument
665 if (hStream) { in DSPStream_Reclaim()
670 tempStruct.ARGS_STRM_RECLAIM.hStream = hStream; in DSPStream_Reclaim()
700 DSPStream_RegisterNotify(DSP_HSTREAM hStream, UINT uEventMask, in DSPStream_RegisterNotify() argument
709 if ((hStream) && (hNotification)) { in DSPStream_RegisterNotify()
714 tempStruct.ARGS_STRM_REGISTERNOTIFY.hStream = in DSPStream_RegisterNotify()
715 hStream; in DSPStream_RegisterNotify()
788 DBAPI DSPStream_UnprepareBuffer(DSP_HSTREAM hStream, UINT uSize, in DSPStream_UnprepareBuffer() argument
794 if (!hStream) in DSPStream_UnprepareBuffer()
821 static DSP_STATUS GetStrmInfo(DSP_HSTREAM hStream, struct STRM_INFO *pStrmInfo, in GetStrmInfo() argument
827 if (hStream) { in GetStrmInfo()
834 tempStruct.ARGS_STRM_GETINFO.hStream = hStream; in GetStrmInfo()