Lines Matching refs:streams

338         if (pSMFData->streams[i].ticks < temp)  in SMF_Event()
340 temp = pSMFData->streams[i].ticks; in SMF_Event()
341 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_Event()
434 if (pSMFData->streams[i].fileHandle != NULL) in SMF_Close()
436 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
451 if (pSMFData->streams) in SMF_Close()
452 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); in SMF_Close()
500 …result = EAS_HWFileSeek(pEASData->hwInstData, pSMFData->streams[i].fileHandle, pSMFData->streams[i… in SMF_Reset()
504 pSMFData->streams[i].ticks = 0; in SMF_Reset()
507 EAS_InitMIDIStream(&pSMFData->streams[i].midiStream); in SMF_Reset()
510 if ((result = SMF_GetDeltaTime(pEASData->hwInstData,&pSMFData->streams[i])) != EAS_SUCCESS) in SMF_Reset()
512 if (pSMFData->streams[i].ticks < ticks) in SMF_Reset()
514 ticks = pSMFData->streams[i].ticks; in SMF_Reset()
515 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_Reset()
627 pSMFData->streams[i].midiStream.jetData = in SMF_SetData()
628 (pSMFData->streams[i].midiStream.jetData & in SMF_SetData()
643 pSMFData->streams[i].midiStream.jetData |= MIDI_FLAGS_JET_MUTE; in SMF_SetData()
645 pSMFData->streams[i].midiStream.jetData &= ~MIDI_FLAGS_JET_MUTE; in SMF_SetData()
654 pSMFData->streams[value].midiStream.jetData |= MIDI_FLAGS_JET_MUTE; in SMF_SetData()
662 pSMFData->streams[value].midiStream.jetData &= ~MIDI_FLAGS_JET_MUTE; in SMF_SetData()
1093 if (pSMFData->streams == NULL) in SMF_ParseHeader()
1095 pSMFData->streams = EAS_HWMalloc(hwInstData,sizeof(S_SMF_STREAM) * pSMFData->numStreams); in SMF_ParseHeader()
1096 if (pSMFData->streams == NULL) in SMF_ParseHeader()
1100 EAS_HWMemSet((void *)(pSMFData->streams), 0, sizeof(S_SMF_STREAM) * pSMFData->numStreams); in SMF_ParseHeader()
1142 pSMFData->streams[i].ticks = 0; in SMF_ParseHeader()
1143 pSMFData->streams[i].fileHandle = pSMFData->fileHandle; in SMF_ParseHeader()
1149 pSMFData->streams[i].startFilePos = (EAS_I32) chunkStart + SMF_CHUNK_INFO_SIZE; in SMF_ParseHeader()
1152 EAS_InitMIDIStream(&pSMFData->streams[i].midiStream); in SMF_ParseHeader()
1155 if ((result = SMF_GetDeltaTime(hwInstData, &pSMFData->streams[i])) != EAS_SUCCESS) in SMF_ParseHeader()
1158 if (pSMFData->streams[i].ticks < ticks) in SMF_ParseHeader()
1160 ticks = pSMFData->streams[i].ticks; in SMF_ParseHeader()
1161 pSMFData->nextStream = &pSMFData->streams[i]; in SMF_ParseHeader()
1167 …if ((result = EAS_HWDupHandle(hwInstData, pSMFData->streams[i].fileHandle, &pSMFData->fileHandle))… in SMF_ParseHeader()