Lines Matching refs:jetHandle

165     p = &easHandle->jetHandle->segQueue[queueNum];  in JET_PrepareSegment()
185 PARSER_DATA_DLS_COLLECTION, (EAS_I32) easHandle->jetHandle->libHandles[p->libNum]); in JET_PrepareSegment()
215 pSeg = &easHandle->jetHandle->segQueue[queueNum]; in JET_StartPlayback()
219 easHandle->jetHandle->segQueue[queueNum].state = JET_STATE_PLAYING; in JET_StartPlayback()
241 result = EAS_CloseFile(easHandle, easHandle->jetHandle->segQueue[queueNum].streamHandle); in JET_CloseSegment()
245 easHandle->jetHandle->segQueue[queueNum].streamHandle = NULL; in JET_CloseSegment()
246 easHandle->jetHandle->segQueue[queueNum].state = JET_STATE_CLOSED; in JET_CloseSegment()
247 easHandle->jetHandle->numQueuedSegments--; in JET_CloseSegment()
264 result = EAS_HWFileSeek(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, pos); in JetParseInfoChunk()
274 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &infoType, EAS… in JetParseInfoChunk()
279 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &temp, EAS_FAL… in JetParseInfoChunk()
288 easHandle->jetHandle->numSegments = (EAS_U8) temp; in JetParseInfoChunk()
295 easHandle->jetHandle->numLibraries = (EAS_U8) temp; in JetParseInfoChunk()
334 if (easHandle->jetHandle->jetFileHandle != NULL) in JET_OpenFile()
338 …result = EAS_HWOpenFile(easHandle->hwInstData, locator, &easHandle->jetHandle->jetFileHandle, EAS_… in JET_OpenFile()
343 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkType, EA… in JET_OpenFile()
354 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &dataSize, EAS… in JET_OpenFile()
363 result = EAS_HWFileSeek(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, pos); in JET_OpenFile()
368 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkType, EA… in JET_OpenFile()
372 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkSize, EA… in JET_OpenFile()
384 if (smfChunkNum < easHandle->jetHandle->numSegments) in JET_OpenFile()
385 easHandle->jetHandle->segmentOffsets[smfChunkNum++] = pos; in JET_OpenFile()
391 if (dlsChunkNum < easHandle->jetHandle->numLibraries) in JET_OpenFile()
392 …ult = DLSParser(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, pos, &easHandle->jetHa… in JET_OpenFile()
398 easHandle->jetHandle->appDataOffset = pos; in JET_OpenFile()
399 easHandle->jetHandle->appDataSize = chunkSize; in JET_OpenFile()
416 EAS_HWCloseFile(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle); in JET_OpenFile()
431 if (easHandle->jetHandle->appDataSize == 0) in JET_GetAppData()
438 *pAppDataOffset = easHandle->jetHandle->appDataOffset; in JET_GetAppData()
439 *pAppDataSize = easHandle->jetHandle->appDataSize; in JET_GetAppData()
457 if (easHandle->jetHandle->segQueue[index].streamHandle != NULL) in JET_CloseFile()
466 if ((result == EAS_SUCCESS) && (easHandle->jetHandle->jetFileHandle != NULL)) in JET_CloseFile()
468 result = EAS_HWCloseFile(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle); in JET_CloseFile()
470 easHandle->jetHandle->jetFileHandle = NULL; in JET_CloseFile()
490 if (easHandle->jetHandle != NULL) in JET_Init()
502 easHandle->jetHandle = pJet; in JET_Init()
526 EAS_HWFree(easHandle->hwInstData, easHandle->jetHandle); in JET_Shutdown()
527 easHandle->jetHandle = NULL; in JET_Shutdown()
541 pSeg = &easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment]; in JET_Status()
553 pStatus->paused = !(easHandle->jetHandle->flags & JET_FLAGS_PLAYING); in JET_Status()
554 pStatus->numQueuedSegments = easHandle->jetHandle->numQueuedSegments; in JET_Status()
555 pStatus->currentPlayingSegment = easHandle->jetHandle->playSegment; in JET_Status()
556 pStatus->currentQueuedSegment = easHandle->jetHandle->queueSegment; in JET_Status()
582 gotEvent = JET_ReadQueue(easHandle->jetHandle->appEventQueue, in JET_GetEvent()
583 &easHandle->jetHandle->appEventQueueRead, in JET_GetEvent()
584 easHandle->jetHandle->appEventQueueWrite, in JET_GetEvent()
614 if (segmentNum >= easHandle->jetHandle->numSegments) in JET_QueueSegment()
618 if (libNum >= easHandle->jetHandle->numLibraries) in JET_QueueSegment()
622 p = &easHandle->jetHandle->segQueue[easHandle->jetHandle->queueSegment]; in JET_QueueSegment()
635 …result = EAS_OpenJETStream(easHandle, easHandle->jetHandle->jetFileHandle, easHandle->jetHandle->s… in JET_QueueSegment()
641 if (++easHandle->jetHandle->numQueuedSegments < SEG_QUEUE_DEPTH) in JET_QueueSegment()
643 result = JET_PrepareSegment(easHandle, easHandle->jetHandle->queueSegment); in JET_QueueSegment()
649 … result = EAS_HWDupHandle(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &fileHandle); in JET_QueueSegment()
653 easHandle->jetHandle->jetFileHandle = fileHandle; in JET_QueueSegment()
654 … easHandle->jetHandle->queueSegment = (EAS_U8) JET_NextSegment(easHandle->jetHandle->queueSegment); in JET_QueueSegment()
673 if (easHandle->jetHandle->flags & JET_FLAGS_PLAYING) in JET_Play()
679 …if (((index == easHandle->jetHandle->playSegment) && (easHandle->jetHandle->segQueue[index].state … in JET_Play()
680 (easHandle->jetHandle->segQueue[index].state == JET_STATE_PAUSED)) in JET_Play()
693 easHandle->jetHandle->flags |= JET_FLAGS_PLAYING; in JET_Play()
712 if ((easHandle->jetHandle->flags & JET_FLAGS_PLAYING) == 0) in JET_Pause()
718 if (easHandle->jetHandle->segQueue[index].state == JET_STATE_PLAYING) in JET_Pause()
720 …result = EAS_Pause(easHandle, easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment].st… in JET_Pause()
723 … easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment].state = JET_STATE_PAUSED; in JET_Pause()
732 easHandle->jetHandle->flags &= ~JET_FLAGS_PLAYING; in JET_Pause()
747 pSeg = &easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment]; in JET_SetMuteFlags()
790 pSeg = &easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment]; in JET_SetMuteFlag()
847 if (easHandle->jetHandle->muteQueue[i] == clipID) in JET_TriggerClip()
852 if (easHandle->jetHandle->muteQueue[i] == 0) in JET_TriggerClip()
858 easHandle->jetHandle->muteQueue[index] = (EAS_U8) clipID | JET_CLIP_TRIGGER_FLAG; in JET_TriggerClip()
881 while (JET_ReadQueue(easHandle->jetHandle->jetEventQueue, in JET_Process()
882 &easHandle->jetHandle->jetEventQueueRead, in JET_Process()
883 easHandle->jetHandle->jetEventQueueWrite, in JET_Process()
895 … (easHandle->jetHandle->segQueue[easHandle->jetHandle->playSegment].streamHandle != NULL)) in JET_Process()
900 index = playIndex = easHandle->jetHandle->playSegment; in JET_Process()
903 pSeg = &easHandle->jetHandle->segQueue[index]; in JET_Process()
945 easHandle->jetHandle->playSegment = (EAS_U8) JET_NextSegment(index); in JET_Process()
997 if (easHandle->jetHandle->numQueuedSegments == 0) in JET_Process()
998 easHandle->jetHandle->flags &= ~JET_FLAGS_PLAYING; in JET_Process()
1013 if (easHandle->jetHandle == NULL) in JET_Event()
1026 … if ((easHandle->jetHandle->muteQueue[i] & JET_CLIP_ID_MASK) == (value & JET_CLIP_ID_MASK)) in JET_Event()
1029 pSeg = &easHandle->jetHandle->segQueue[segTrack >> JET_EVENT_SEG_SHIFT]; in JET_Event()
1033 … if ((easHandle->jetHandle->muteQueue[i] & JET_CLIP_TRIGGER_FLAG) && ((value & 0x40) > 0)) in JET_Event()
1036 easHandle->jetHandle->muteQueue[i] &= ~JET_CLIP_TRIGGER_FLAG; in JET_Event()
1046 easHandle->jetHandle->muteQueue[i] = 0; in JET_Event()
1059 …if ((controller >= easHandle->jetHandle->config.appEventRangeLow) && (controller <= easHandle->jet… in JET_Event()
1062 …event |= easHandle->jetHandle->segQueue[(segTrack & JET_EVENT_SEG_MASK) >> JET_EVENT_SEG_SHIFT].us… in JET_Event()
1066 JET_WriteQueue(easHandle->jetHandle->appEventQueue, in JET_Event()
1067 &easHandle->jetHandle->appEventQueueWrite, in JET_Event()
1068 easHandle->jetHandle->appEventQueueRead, in JET_Event()
1080 JET_WriteQueue(easHandle->jetHandle->jetEventQueue, in JET_Event()
1081 &easHandle->jetHandle->jetEventQueueWrite, in JET_Event()
1082 easHandle->jetHandle->jetEventQueueRead, in JET_Event()
1104 if (easHandle->jetHandle->segQueue[index].state == JET_STATE_PLAYING) in JET_Clear_Queue()
1106 result = EAS_Pause(easHandle, easHandle->jetHandle->segQueue[index].streamHandle); in JET_Clear_Queue()
1110 easHandle->jetHandle->segQueue[index].state = JET_STATE_PAUSED; in JET_Clear_Queue()
1117 if (easHandle->jetHandle->segQueue[index].streamHandle != NULL) in JET_Clear_Queue()
1128 easHandle->jetHandle->muteQueue[index] = 0; in JET_Clear_Queue()
1131 easHandle->jetHandle->flags &= ~JET_FLAGS_PLAYING; in JET_Clear_Queue()
1132 easHandle->jetHandle->playSegment = easHandle->jetHandle->queueSegment = 0; in JET_Clear_Queue()