/external/sonivox/arm-wt-22k/lib_src/ |
eas_math.c | 118 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain) 121 EAS_U16 nTemp; 138 nTemp = (EAS_U16)((((nGain & 0x3ff) << 4) | 0x4000) >> nExp);
|
eas_miditypes.h | 108 EAS_U16 numStreams; /* actual number of streams */ 109 EAS_U16 tickConv; /* current MIDI tick to msec conversion */ 110 EAS_U16 ppqn; /* ticks per quarter note */
|
eas_flog.c | 43 static const EAS_U16 eas_log2_table[] =
|
eas_mixer.c | 137 EAS_U16 gain; 151 gain = (EAS_U16) temp; 154 gain = (EAS_U16) pEASData->masterGain; 156 gain = (EAS_U16) pEASData->masterGain; 173 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) numSamples * 2)); 175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples); 266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples) {
|
eas_pcmdata.h | 111 EAS_U16 blockSize; /* block size for ADPCM decoder */ 112 EAS_U16 blockCount; /* block counter for ADPCM decoder */ 113 EAS_U16 sampleRate; /* input sample rate */
|
eas_dlssynth.h | 37 EAS_RESULT DLS_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex);
|
eas_vm_protos.h | 208 void VMCheckKeyGroup (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U16 keyGroup, EAS_U8 channel); 234 EAS_BOOL VMCheckPolyphonyLimiting (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex, EAS_I32 lowVoice, EAS_I32 highVoice); 536 void VMUpdateAllNotesAge (S_VOICE_MGR *pVoiceMgr, EAS_U16 nAge); 560 EAS_RESULT VMFindRegionIndex (S_VOICE_MGR *pVoiceMgr, EAS_U8 channel, EAS_U8 note, EAS_U16 *pRegionIndex); 816 void VMSetVolume (S_SYNTH *pSynth, EAS_U16 masterVolume); [all...] |
eas_mdls.h | 44 #define USHORT EAS_U16 54 EAS_U16 Data2; 55 EAS_U16 Data3;
|
eas_mdls.c | 223 EAS_U16 bitsPerSample; 248 EAS_U16 source; 249 EAS_U16 control; 250 EAS_U16 destination; 251 EAS_U16 connection; 408 static EAS_RESULT Parse_wave (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, EAS_U16 waveIndex); 415 static EAS_RESULT Parse_lrgn (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, EAS_I32 size, EAS_U16 artIndex, EAS_U32 numRegions); 416 static EAS_RESULT Parse_rgn (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, EAS_I32 size, EAS_U16 artIndex); 422 static void Convert_rgn (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_U16 regionIndex, EAS_U16 artIndex, EAS_U16 waveIndex, S_WSMP_DATA *pWsmp) [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_mixer.c | 137 EAS_U16 gain; 151 gain = (EAS_U16) temp; 154 gain = (EAS_U16) pEASData->masterGain; 156 gain = (EAS_U16) pEASData->masterGain; 173 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) numSamples * 2)); 175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples); 266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples) {
|
eas_fmsynth.c | 87 extern const EAS_U16 fmRateTable[256]; 88 extern const EAS_U16 fmAttackTable[16]; 96 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex); 223 static EAS_U16 FM_CalcEGRate (EAS_U8 nKeyNumber, EAS_U8 nLogRate, EAS_U8 nEGScale) 346 if (pFMVoice->oper[operIndex].envGain >= ((EAS_U16) (pRegion->oper[operIndex].sustain & 0xfc) << 7)) 396 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex) 417 pFMVoice->lfoDelay = (EAS_U16) (fmScaleTable[pRegion->lfoFreqDelay & 0x0f] >> 1); 585 pFMVoice->lfoPhase = pFMVoice->lfoPhase + (EAS_U16) (-fmControlTable[((15 - (pRegion->lfoFreqDelay >> 4)) << 3) + 4]); 649 pOper->envGain = (EAS_U16) temp; 655 pOper->envGain = (EAS_U16) FMUL_15x15(pOper->envGain, pOper->envRate) [all...] |
eas_pcmdata.h | 111 EAS_U16 blockSize; /* block size for ADPCM decoder */ 112 EAS_U16 blockCount; /* block counter for ADPCM decoder */ 113 EAS_U16 sampleRate; /* input sample rate */
|
eas_vm_protos.h | 208 void VMCheckKeyGroup (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U16 keyGroup, EAS_U8 channel); 234 EAS_BOOL VMCheckPolyphonyLimiting (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex, EAS_I32 lowVoice, EAS_I32 highVoice); 536 void VMUpdateAllNotesAge (S_VOICE_MGR *pVoiceMgr, EAS_U16 nAge); 560 EAS_RESULT VMFindRegionIndex (S_VOICE_MGR *pVoiceMgr, EAS_U8 channel, EAS_U8 note, EAS_U16 *pRegionIndex); 816 void VMSetVolume (S_SYNTH *pSynth, EAS_U16 masterVolume); [all...] |
eas_fmengine.c | 51 void FM_SynthMixVoice (S_FM_ENG_VOICE *p, EAS_U16 gainTarget, EAS_I32 numSamplesToAdd, EAS_PCM *pInputBuffer, EAS_I32 *pBuffer); 208 static void FM_CalculatePan (EAS_I16 pan, EAS_U16 *pGainLeft, EAS_U16 *pGainRight) 241 *pGainRight = (EAS_U16) nTemp; 252 *pGainLeft = (EAS_U16) nTemp; 278 EAS_U16 gainTarget, 389 EAS_U16 gainTarget, 737 void FM_SynthMixVoice(S_FM_ENG_VOICE *p, EAS_U16 nGainTarget, EAS_I32 numSamplesToAdd, EAS_PCM *pInputBuffer, EAS_I32 *pBuffer)
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_mixer.c | 137 EAS_U16 gain; 151 gain = (EAS_U16) temp; 154 gain = (EAS_U16) pEASData->masterGain; 156 gain = (EAS_U16) pEASData->masterGain; 173 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) numSamples * 2)); 175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples); 266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples) {
|
eas_fmsynth.c | 87 extern const EAS_U16 fmRateTable[256]; 88 extern const EAS_U16 fmAttackTable[16]; 96 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex); 223 static EAS_U16 FM_CalcEGRate (EAS_U8 nKeyNumber, EAS_U8 nLogRate, EAS_U8 nEGScale) 346 if (pFMVoice->oper[operIndex].envGain >= ((EAS_U16) (pRegion->oper[operIndex].sustain & 0xfc) << 7)) 396 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex) 417 pFMVoice->lfoDelay = (EAS_U16) (fmScaleTable[pRegion->lfoFreqDelay & 0x0f] >> 1); 585 pFMVoice->lfoPhase = pFMVoice->lfoPhase + (EAS_U16) (-fmControlTable[((15 - (pRegion->lfoFreqDelay >> 4)) << 3) + 4]); 649 pOper->envGain = (EAS_U16) temp; 655 pOper->envGain = (EAS_U16) FMUL_15x15(pOper->envGain, pOper->envRate) [all...] |
eas_pcmdata.h | 111 EAS_U16 blockSize; /* block size for ADPCM decoder */ 112 EAS_U16 blockCount; /* block counter for ADPCM decoder */ 113 EAS_U16 sampleRate; /* input sample rate */
|
eas_vm_protos.h | 208 void VMCheckKeyGroup (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U16 keyGroup, EAS_U8 channel); 234 EAS_BOOL VMCheckPolyphonyLimiting (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex, EAS_I32 lowVoice, EAS_I32 highVoice); 536 void VMUpdateAllNotesAge (S_VOICE_MGR *pVoiceMgr, EAS_U16 nAge); 560 EAS_RESULT VMFindRegionIndex (S_VOICE_MGR *pVoiceMgr, EAS_U8 channel, EAS_U8 note, EAS_U16 *pRegionIndex); 816 void VMSetVolume (S_SYNTH *pSynth, EAS_U16 masterVolume); [all...] |
eas_fmengine.c | 51 void FM_SynthMixVoice (S_FM_ENG_VOICE *p, EAS_U16 gainTarget, EAS_I32 numSamplesToAdd, EAS_PCM *pInputBuffer, EAS_I32 *pBuffer); 208 static void FM_CalculatePan (EAS_I16 pan, EAS_U16 *pGainLeft, EAS_U16 *pGainRight) 241 *pGainRight = (EAS_U16) nTemp; 252 *pGainLeft = (EAS_U16) nTemp; 278 EAS_U16 gainTarget, 389 EAS_U16 gainTarget, 737 void FM_SynthMixVoice(S_FM_ENG_VOICE *p, EAS_U16 nGainTarget, EAS_I32 numSamplesToAdd, EAS_PCM *pInputBuffer, EAS_I32 *pBuffer)
|
/external/sonivox/arm-fm-22k/host_src/ |
eas_wave.c | 79 static void FlipWord (EAS_U16 *pValue) 82 EAS_U16 temp; 159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; 161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample; 162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); 213 EAS_U16 *p;
|
eas_types.h | 122 typedef unsigned short EAS_U16; 227 EAS_U16 bank;
|
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_wave.c | 79 static void FlipWord (EAS_U16 *pValue) 82 EAS_U16 temp; 159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; 161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample; 162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); 213 EAS_U16 *p;
|
eas_types.h | 122 typedef unsigned short EAS_U16; 227 EAS_U16 bank;
|
/external/sonivox/arm-wt-22k/host_src/ |
eas_wave.c | 79 static void FlipWord (EAS_U16 *pValue) 82 EAS_U16 temp; 159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; 161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample; 162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); 213 EAS_U16 *p;
|
eas_types.h | 122 typedef unsigned short EAS_U16; 232 EAS_U16 bank;
|