Lines Matching refs:streamNum
284 EAS_INT streamNum; in EAS_AllocateStream() local
298 for (streamNum = 0; streamNum < MAX_NUMBER_STREAMS; streamNum++) in EAS_AllocateStream()
299 if (pEASData->streams[streamNum].handle == NULL) in EAS_AllocateStream()
301 if (streamNum == MAX_NUMBER_STREAMS) in EAS_AllocateStream()
306 return streamNum; in EAS_AllocateStream()
571 EAS_INT streamNum; in EAS_OpenJETStream() local
574 if ((streamNum = EAS_AllocateStream(pEASData)) < 0) in EAS_OpenJETStream()
594 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenJETStream()
595 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenJETStream()
626 EAS_INT streamNum; in EAS_OpenFile() local
634 if ((streamNum = EAS_AllocateStream(pEASData)) < 0) in EAS_OpenFile()
665 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenFile()
666 *ppStream = &pEASData->streams[streamNum]; in EAS_OpenFile()
710 EAS_INT streamNum; in EAS_MMAPIToneControl() local
727 if ((streamNum = EAS_AllocateStream(pEASData)) < 0) in EAS_MMAPIToneControl()
742 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_MMAPIToneControl()
743 *ppStream = &pEASData->streams[streamNum]; in EAS_MMAPIToneControl()
865 EAS_INT streamNum; in EAS_Render() local
906 for (streamNum = 0; streamNum < MAX_NUMBER_STREAMS; streamNum++) in EAS_Render()
909 pEASData->streams[streamNum].streamFlags &= ~STREAM_FLAGS_LOCATE; in EAS_Render()
911 if (pEASData->streams[streamNum].pParserModule) in EAS_Render()
915 pParserModule = pEASData->streams[streamNum].pParserModule; in EAS_Render()
918 if (pEASData->streams[streamNum].streamFlags & STREAM_FLAGS_PAUSE) in EAS_Render()
921 result = pParserModule->pfPause(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
922 pEASData->streams[streamNum].streamFlags &= ~STREAM_FLAGS_PAUSE; in EAS_Render()
926 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
932 if (pEASData->streams[streamNum].streamFlags & STREAM_FLAGS_RESUME) in EAS_Render()
935 … result = pParserModule->pfResume(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
936 pEASData->streams[streamNum].streamFlags &= ~STREAM_FLAGS_RESUME; in EAS_Render()
941 if ((pEASData->streams[streamNum].streamFlags & STREAM_FLAGS_PARSED) == 0) in EAS_Render()
942 …rseEvents(pEASData, &pEASData->streams[streamNum], pEASData->streams[streamNum].time + pEASData->s… in EAS_Render()
946 if ((pEASData->streams[streamNum].streamFlags) == 0) in EAS_Render()
959 if (pEASData->streams[streamNum].repeatCount) in EAS_Render()
963 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
969 if (pEASData->streams[streamNum].repeatCount > 0) in EAS_Render()
970 pEASData->streams[streamNum].repeatCount--; in EAS_Render()
973 …if ((result = (*pParserModule->pfReset)(pEASData, pEASData->streams[streamNum].handle)) != EAS_SUC… in EAS_Render()
975 pEASData->streams[streamNum].time = 0; in EAS_Render()
1012 for (streamNum = 0; streamNum < MAX_NUMBER_STREAMS; streamNum++) in EAS_Render()
1013 if (pEASData->streams[streamNum].pParserModule != NULL) in EAS_Render()
1014 pEASData->streams[streamNum].streamFlags &= ~STREAM_FLAGS_PARSED; in EAS_Render()
1528 EAS_INT streamNum; in EAS_OpenMIDIStream() local
1534 if ((streamNum = EAS_AllocateStream(pEASData)) < 0) in EAS_OpenMIDIStream()
1552 EAS_InitStream(&pEASData->streams[streamNum], NULL, pMIDIStream); in EAS_OpenMIDIStream()
1570 EAS_CloseMIDIStream(pEASData, &pEASData->streams[streamNum]); in EAS_OpenMIDIStream()
1577 *ppStream = (EAS_HANDLE) &pEASData->streams[streamNum]; in EAS_OpenMIDIStream()