Lines Matching refs:pSeg
210 S_JET_SEGMENT *pSeg; in JET_StartPlayback() local
215 pSeg = &easHandle->jetHandle->segQueue[queueNum]; in JET_StartPlayback()
216 if (pSeg->streamHandle != NULL) in JET_StartPlayback()
218 result = EAS_Resume(easHandle, pSeg->streamHandle); in JET_StartPlayback()
222 if ((result == EAS_SUCCESS) && (pSeg->muteFlags != 0)) in JET_StartPlayback()
223 …result = EAS_IntSetStrmParam(easHandle, pSeg->streamHandle, PARSER_DATA_MUTE_FLAGS, (EAS_I32) pSeg… in JET_StartPlayback()
547 S_JET_SEGMENT *pSeg; in JET_Status() local
549 pSeg = &easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment]; in JET_Status()
550 if (pSeg->streamHandle != NULL) in JET_Status()
552 pStatus->currentUserID = pSeg->userID; in JET_Status()
553 pStatus->segmentRepeatCount = pSeg->repeatCount; in JET_Status()
565 if (pSeg->streamHandle != NULL) in JET_Status()
569 if ((result = EAS_GetLocation(easHandle, pSeg->streamHandle, &location)) == EAS_SUCCESS) in JET_Status()
752 S_JET_SEGMENT *pSeg; in JET_SetMuteFlags() local
755 pSeg = &easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment]; in JET_SetMuteFlags()
760 if (pSeg->streamHandle == NULL) in JET_SetMuteFlags()
762 pSeg->muteFlags = muteFlags; in JET_SetMuteFlags()
763 …return EAS_IntSetStrmParam(easHandle, pSeg->streamHandle, PARSER_DATA_MUTE_FLAGS, (EAS_I32) muteFl… in JET_SetMuteFlags()
768 if (pSeg->state == JET_STATE_CLOSED) in JET_SetMuteFlags()
772 pSeg->muteFlags = muteFlags; in JET_SetMuteFlags()
776 pSeg->flags |= JET_SEG_FLAG_MUTE_UPDATE; in JET_SetMuteFlags()
788 S_JET_SEGMENT *pSeg; in JET_SetMuteFlag() local
798 pSeg = &easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment]; in JET_SetMuteFlag()
803 if (pSeg->streamHandle == NULL) in JET_SetMuteFlag()
806 pSeg->muteFlags |= trackMuteFlag; in JET_SetMuteFlag()
808 pSeg->muteFlags &= ~trackMuteFlag; in JET_SetMuteFlag()
809 …return EAS_IntSetStrmParam(easHandle, pSeg->streamHandle, PARSER_DATA_MUTE_FLAGS, (EAS_I32) pSeg->… in JET_SetMuteFlag()
814 if (pSeg->state == JET_STATE_CLOSED) in JET_SetMuteFlag()
819 pSeg->muteFlags |= trackMuteFlag; in JET_SetMuteFlag()
821 pSeg->muteFlags &= ~trackMuteFlag; in JET_SetMuteFlag()
822 pSeg->flags |= JET_SEG_FLAG_MUTE_UPDATE; in JET_SetMuteFlag()
878 S_JET_SEGMENT *pSeg; in JET_Process() local
911 pSeg = &easHandle->jetHandle->segQueue[index]; in JET_Process()
912 if (pSeg->state != JET_STATE_CLOSED) in JET_Process()
916 result = EAS_State(easHandle, pSeg->streamHandle, &state); in JET_Process()
921 switch (pSeg->state) in JET_Process()
928 if (pSeg->repeatCount != 0) in JET_Process()
931 result = EAS_Locate(easHandle, pSeg->streamHandle, 0, EAS_FALSE); in JET_Process()
934 if (pSeg->repeatCount > 0) in JET_Process()
935 pSeg->repeatCount--; in JET_Process()
938 if (pSeg->flags & JET_SEG_FLAG_MUTE_UPDATE) in JET_Process()
940 …result = EAS_IntSetStrmParam(easHandle, pSeg->streamHandle, PARSER_DATA_MUTE_FLAGS, (EAS_I32) pSeg… in JET_Process()
943 pSeg->flags &= ~JET_SEG_FLAG_MUTE_UPDATE; in JET_Process()
952 pSeg->state = JET_STATE_STOPPING; in JET_Process()
1027 S_JET_SEGMENT *pSeg; in JET_Event() local
1037 pSeg = &easHandle->jetHandle->segQueue[segTrack >> JET_EVENT_SEG_SHIFT]; in JET_Event()
1043 pSeg->muteFlags &= ~muteFlag; in JET_Event()
1051 beforeMute = pSeg->muteFlags ; in JET_Event()
1052 pSeg->muteFlags |= muteFlag; in JET_Event()
1053 if (beforeMute != pSeg->muteFlags) in JET_Event()
1056 …EAS_IntSetStrmParam(easHandle, pSeg->streamHandle, PARSER_DATA_MUTE_FLAGS, (EAS_I32) pSeg->muteFla… in JET_Event()