Lines Matching refs:streams
333 if (pSMFData->streams[i].ticks < temp) in SMF_Event()
335 temp = pSMFData->streams[i].ticks; in SMF_Event()
336 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_Event()
429 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
431 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
446 if (pSMFData->streams) in SMF_Close()
447 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); in SMF_Close()
495 …result = EAS_HWFileSeek(pEASData->hwInstData, pSMFData->streams[i].fileHandle, pSMFData->streams[i… in SMF_Reset()
499 pSMFData->streams[i].ticks = 0; in SMF_Reset()
502 EAS_InitMIDIStream(&pSMFData->streams[i].midiStream); in SMF_Reset()
505 if ((result = SMF_GetDeltaTime(pEASData->hwInstData,&pSMFData->streams[i])) != EAS_SUCCESS) in SMF_Reset()
507 if (pSMFData->streams[i].ticks < ticks) in SMF_Reset()
509 ticks = pSMFData->streams[i].ticks; in SMF_Reset()
510 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_Reset()
622 pSMFData->streams[i].midiStream.jetData = in SMF_SetData()
623 (pSMFData->streams[i].midiStream.jetData & in SMF_SetData()
638 pSMFData->streams[i].midiStream.jetData |= MIDI_FLAGS_JET_MUTE; in SMF_SetData()
640 pSMFData->streams[i].midiStream.jetData &= ~MIDI_FLAGS_JET_MUTE; in SMF_SetData()
649 pSMFData->streams[value].midiStream.jetData |= MIDI_FLAGS_JET_MUTE; in SMF_SetData()
657 pSMFData->streams[value].midiStream.jetData &= ~MIDI_FLAGS_JET_MUTE; in SMF_SetData()
1084 if (pSMFData->streams == NULL) in SMF_ParseHeader()
1086 pSMFData->streams = EAS_HWMalloc(hwInstData,sizeof(S_SMF_STREAM) * pSMFData->numStreams); in SMF_ParseHeader()
1087 if (pSMFData->streams == NULL) in SMF_ParseHeader()
1091 EAS_HWMemSet((void *)(pSMFData->streams), 0, sizeof(S_SMF_STREAM) * pSMFData->numStreams); in SMF_ParseHeader()
1133 pSMFData->streams[i].ticks = 0; in SMF_ParseHeader()
1134 pSMFData->streams[i].fileHandle = pSMFData->fileHandle; in SMF_ParseHeader()
1140 pSMFData->streams[i].startFilePos = (EAS_I32) chunkStart + SMF_CHUNK_INFO_SIZE; in SMF_ParseHeader()
1143 EAS_InitMIDIStream(&pSMFData->streams[i].midiStream); in SMF_ParseHeader()
1146 if ((result = SMF_GetDeltaTime(hwInstData, &pSMFData->streams[i])) != EAS_SUCCESS) in SMF_ParseHeader()
1149 if (pSMFData->streams[i].ticks < ticks) in SMF_ParseHeader()
1151 ticks = pSMFData->streams[i].ticks; in SMF_ParseHeader()
1152 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_ParseHeader()
1158 …if ((result = EAS_HWDupHandle(hwInstData, pSMFData->streams[i].fileHandle, &pSMFData->fileHandle))… in SMF_ParseHeader()