Home | History | Annotate | Download | only in lib_src

Lines Matching refs:temp

455     EAS_U32 temp;
485 if ((result = EAS_HWReadFile(dls.hwInstData, dls.fileHandle, &temp, sizeof(temp), &size)) != EAS_SUCCESS)
489 dls.bigEndian = (temp == CHUNK_RIFF);
493 if ((result = NextChunk(&dls, &pos, &temp, &size)) != EAS_SUCCESS)
495 if (temp != CHUNK_DLS)
497 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Expected DLS chunk, got %08lx\n", temp); */ }
512 if ((result = NextChunk(&dls, &pos, &temp, &size)) != EAS_SUCCESS)
516 switch (temp)
519 if ((result = Parse_cdl(&dls, size, &temp)) != EAS_SUCCESS)
521 if (!temp)
813 EAS_U32 temp;
822 if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, &temp, EAS_FALSE)) != EAS_SUCCESS)
844 if ((result = EAS_HWGetDWord(pDLSData->hwInstData, tempFile, &temp, EAS_FALSE)) != EAS_SUCCESS)
846 if (temp > (EAS_U32) wtblSize)
854 if ((result = Parse_wave(pDLSData, wtblPos +(EAS_I32) temp, waveIndex)) != EAS_SUCCESS)
880 EAS_U32 temp;
898 if ((result = NextChunk(pDLSData, &pos, &temp, &size)) != EAS_SUCCESS)
902 if (temp != CHUNK_WAVE)
916 if ((result = NextChunk(pDLSData, &pos, &temp, &size)) != EAS_SUCCESS)
920 switch (temp)
1302 EAS_U32 temp;
1317 if ((result = NextChunk(pDLSData, &pos, &temp, &size)) != EAS_SUCCESS)
1321 if (temp != CHUNK_INS)
1348 EAS_U32 temp;
1378 if ((result = NextChunk(pDLSData, &pos, &temp, &size)) != EAS_SUCCESS)
1382 switch (temp)
1532 EAS_U32 temp;
1549 if ((result = NextChunk(pDLSData, &pos, &temp, &size)) != EAS_SUCCESS)
1552 if ((temp == CHUNK_RGN) || (temp == CHUNK_RGN2))
1589 EAS_U32 temp;
1620 if ((result = NextChunk(pDLSData, &pos, &temp, &size)) != EAS_SUCCESS)
1624 switch (temp)
1627 if ((result = Parse_cdl(pDLSData, size, &temp)) != EAS_SUCCESS)
1631 if (!temp)
1835 EAS_U32 temp;
1855 if ((result = NextChunk(pDLSData, &pos, &temp, &size)) != EAS_SUCCESS)
1859 switch (temp)
1862 if ((result = Parse_cdl(pDLSData, size, &temp)) != EAS_SUCCESS)
1866 if (!temp)
2457 EAS_I32 temp;
2463 temp = timeCents - dlsRateConvert;
2466 temp = FMUL_15x15(temp, TIME_CENTS_TO_LOG2);
2469 temp = EAS_LogToLinear16(temp - (15 << 10));
2471 if (temp < SYNTH_FULL_SCALE_EG1_GAIN)
2472 return (EAS_I16) temp;
2484 EAS_I32 temp;
2490 temp = dlsRateConvert - timeCents;
2493 temp = EAS_Calculate2toX(temp);
2496 temp = FMUL_15x15(temp, TIME_CENTS_TO_LOG2);
2499 temp = EAS_LogToLinear16(temp);
2502 if (temp
2503 return (EAS_I16) temp;