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()
539 S_JET_SEGMENT *pSeg; in JET_Status() local
541 pSeg = &easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment]; in JET_Status()
542 if (pSeg->streamHandle != NULL) in JET_Status()
544 pStatus->currentUserID = pSeg->userID; in JET_Status()
545 pStatus->segmentRepeatCount = pSeg->repeatCount; in JET_Status()
557 if (pSeg->streamHandle != NULL) in JET_Status()
561 if ((result = EAS_GetLocation(easHandle, pSeg->streamHandle, &location)) == EAS_SUCCESS) in JET_Status()
744 S_JET_SEGMENT *pSeg; in JET_SetMuteFlags() local
747 pSeg = &easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment]; in JET_SetMuteFlags()
752 if (pSeg->streamHandle == NULL) in JET_SetMuteFlags()
754 pSeg->muteFlags = muteFlags; in JET_SetMuteFlags()
755 …return EAS_IntSetStrmParam(easHandle, pSeg->streamHandle, PARSER_DATA_MUTE_FLAGS, (EAS_I32) muteFl… in JET_SetMuteFlags()
760 if (pSeg->state == JET_STATE_CLOSED) in JET_SetMuteFlags()
764 pSeg->muteFlags = muteFlags; in JET_SetMuteFlags()
768 pSeg->flags |= JET_SEG_FLAG_MUTE_UPDATE; in JET_SetMuteFlags()
780 S_JET_SEGMENT *pSeg; in JET_SetMuteFlag() local
790 pSeg = &easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment]; in JET_SetMuteFlag()
795 if (pSeg->streamHandle == NULL) in JET_SetMuteFlag()
798 pSeg->muteFlags |= trackMuteFlag; in JET_SetMuteFlag()
800 pSeg->muteFlags &= ~trackMuteFlag; in JET_SetMuteFlag()
801 …return EAS_IntSetStrmParam(easHandle, pSeg->streamHandle, PARSER_DATA_MUTE_FLAGS, (EAS_I32) pSeg->… in JET_SetMuteFlag()
806 if (pSeg->state == JET_STATE_CLOSED) in JET_SetMuteFlag()
811 pSeg->muteFlags |= trackMuteFlag; in JET_SetMuteFlag()
813 pSeg->muteFlags &= ~trackMuteFlag; in JET_SetMuteFlag()
814 pSeg->flags |= JET_SEG_FLAG_MUTE_UPDATE; in JET_SetMuteFlag()
870 S_JET_SEGMENT *pSeg; in JET_Process() local
903 pSeg = &easHandle->jetHandle->segQueue[index]; in JET_Process()
904 if (pSeg->state != JET_STATE_CLOSED) in JET_Process()
908 result = EAS_State(easHandle, pSeg->streamHandle, &state); in JET_Process()
913 switch (pSeg->state) in JET_Process()
920 if (pSeg->repeatCount != 0) in JET_Process()
923 result = EAS_Locate(easHandle, pSeg->streamHandle, 0, EAS_FALSE); in JET_Process()
926 if (pSeg->repeatCount > 0) in JET_Process()
927 pSeg->repeatCount--; in JET_Process()
930 if (pSeg->flags & JET_SEG_FLAG_MUTE_UPDATE) in JET_Process()
932 …result = EAS_IntSetStrmParam(easHandle, pSeg->streamHandle, PARSER_DATA_MUTE_FLAGS, (EAS_I32) pSeg… in JET_Process()
935 pSeg->flags &= ~JET_SEG_FLAG_MUTE_UPDATE; in JET_Process()
944 pSeg->state = JET_STATE_STOPPING; in JET_Process()
1019 S_JET_SEGMENT *pSeg; in JET_Event() local
1029 pSeg = &easHandle->jetHandle->segQueue[segTrack >> JET_EVENT_SEG_SHIFT]; in JET_Event()
1035 pSeg->muteFlags &= ~muteFlag; in JET_Event()
1043 beforeMute = pSeg->muteFlags ; in JET_Event()
1044 pSeg->muteFlags |= muteFlag; in JET_Event()
1045 if (beforeMute != pSeg->muteFlags) in JET_Event()
1048 …EAS_IntSetStrmParam(easHandle, pSeg->streamHandle, PARSER_DATA_MUTE_FLAGS, (EAS_I32) pSeg->muteFla… in JET_Event()