Lines Matching refs:streamNum
281 EAS_INT streamNum; in EAS_AllocateStream() local
295 for (streamNum = 0; streamNum < MAX_NUMBER_STREAMS; streamNum++) in EAS_AllocateStream()
296 if (pEASData->streams[streamNum].handle == NULL) in EAS_AllocateStream()
298 if (streamNum == MAX_NUMBER_STREAMS) in EAS_AllocateStream()
303 return streamNum; in EAS_AllocateStream()
569 EAS_INT streamNum; in EAS_OpenJETStream() local
572 if ((streamNum = EAS_AllocateStream(pEASData)) < 0) in EAS_OpenJETStream()
592 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenJETStream()
593 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenJETStream()
624 EAS_INT streamNum; in EAS_OpenFile() local
632 if ((streamNum = EAS_AllocateStream(pEASData)) < 0) in EAS_OpenFile()
663 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenFile()
664 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenFile()
708 EAS_INT streamNum; in EAS_MMAPIToneControl() local
725 if ((streamNum = EAS_AllocateStream(pEASData)) < 0) in EAS_MMAPIToneControl()
740 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_MMAPIToneControl()
741 *ppStream = &pEASData->streams[streamNum]; in EAS_MMAPIToneControl()
863 EAS_INT streamNum; in EAS_Render() local
904 for (streamNum = 0; streamNum < MAX_NUMBER_STREAMS; streamNum++) in EAS_Render()
907 pEASData->streams[streamNum].streamFlags &= ~STREAM_FLAGS_LOCATE; in EAS_Render()
909 if (pEASData->streams[streamNum].pParserModule) in EAS_Render()
913 pParserModule = pEASData->streams[streamNum].pParserModule; in EAS_Render()
916 if (pEASData->streams[streamNum].streamFlags & STREAM_FLAGS_PAUSE) in EAS_Render()
919 result = pParserModule->pfPause(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
920 pEASData->streams[streamNum].streamFlags &= ~STREAM_FLAGS_PAUSE; in EAS_Render()
924 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
930 if (pEASData->streams[streamNum].streamFlags & STREAM_FLAGS_RESUME) in EAS_Render()
933 … result = pParserModule->pfResume(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
934 pEASData->streams[streamNum].streamFlags &= ~STREAM_FLAGS_RESUME; in EAS_Render()
939 if ((pEASData->streams[streamNum].streamFlags & STREAM_FLAGS_PARSED) == 0) in EAS_Render()
940 …rseEvents(pEASData, &pEASData->streams[streamNum], pEASData->streams[streamNum].time + pEASData->s… in EAS_Render()
944 if ((pEASData->streams[streamNum].streamFlags) == 0) in EAS_Render()
957 if (pEASData->streams[streamNum].repeatCount) in EAS_Render()
961 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
967 if (pEASData->streams[streamNum].repeatCount > 0) in EAS_Render()
968 pEASData->streams[streamNum].repeatCount--; in EAS_Render()
971 …if ((result = (*pParserModule->pfReset)(pEASData, pEASData->streams[streamNum].handle)) != EAS_SUC… in EAS_Render()
973 pEASData->streams[streamNum].time = 0; in EAS_Render()
1010 for (streamNum = 0; streamNum < MAX_NUMBER_STREAMS; streamNum++) in EAS_Render()
1011 if (pEASData->streams[streamNum].pParserModule != NULL) in EAS_Render()
1012 pEASData->streams[streamNum].streamFlags &= ~STREAM_FLAGS_PARSED; in EAS_Render()
1502 EAS_INT streamNum; in EAS_OpenMIDIStream() local
1508 if ((streamNum = EAS_AllocateStream(pEASData)) < 0) in EAS_OpenMIDIStream()
1526 EAS_InitStream(&pEASData->streams[streamNum], NULL, pMIDIStream); in EAS_OpenMIDIStream()
1544 EAS_CloseMIDIStream(pEASData, &pEASData->streams[streamNum]); in EAS_OpenMIDIStream()
1551 *ppStream = (EAS_HANDLE) &pEASData->streams[streamNum]; in EAS_OpenMIDIStream()