/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_mixbuf.c | 35 EAS_I32 eas_MixBuffer[BUFFER_SIZE_IN_MONO_SAMPLES * NUM_OUTPUT_CHANNELS];
|
H A D | eas_mixer.h | 79 void EAS_MixEnginePrep (EAS_DATA_HANDLE pEASData, EAS_I32 nNumSamplesToAdd); 96 void EAS_MixEnginePost (EAS_DATA_HANDLE pEASData, EAS_I32 nNumSamplesToAdd); 133 void EAS_MixStream (EAS_PCM *pInputBuffer, EAS_I32 *pMixBuffer, EAS_I32 numSamples, EAS_I32 gainLeft, EAS_I32 gainRight, EAS_I32 gainIncLeft, EAS_I32 gainIncRight, EAS_I32 flags);
|
H A D | eas_wavefile.h | 49 EAS_I32 fileOffset; 50 EAS_I32 audioOffset; 51 EAS_I32 mediaLength; 58 EAS_I32 infoChunkPos; 59 EAS_I32 infoChunkSize;
|
H A D | eas_wt_IPC_frame.h | 51 EAS_I32 gainTarget; 52 EAS_I32 phaseIncrement; 55 EAS_I32 k; 56 EAS_I32 b1; 57 EAS_I32 b2;
|
H A D | eas_xmfdata.h | 48 EAS_I32 fileOffset; 50 EAS_I32 midiOffset; 51 EAS_I32 dlsOffset;
|
H A D | eas_imelodydata.h | 52 EAS_I32 fileOffset; /* offset to start of data */ 53 EAS_I32 time; /* current time in 256ths of a msec */ 54 EAS_I32 tickBase; /* basline length of 32nd note in 256th of a msec */ 55 EAS_I32 tick; /* actual length of 32nd note in 256th of a msec */ 56 EAS_I32 restTicks; /* ticks to rest after current note */ 57 EAS_I32 startLine; /* file offset at start of line (for repeats) */ 58 EAS_I32 repeatOffset; /* file offset to start of repeat section */ 59 EAS_I32 repeatTime; /* time at start of repeat section */
|
H A D | eas_rtttldata.h | 54 EAS_I32 fileOffset; /* offset to start of data */ 55 EAS_I32 time; /* current time in 256ths of a msec */ 56 EAS_I32 tick; /* length of 32nd note in 256th of a msec */ 57 EAS_I32 restTicks; /* ticks to rest after current note */ 58 EAS_I32 repeatOffset; /* file offset to start of repeat section */
|
H A D | eas_tcdata.h | 48 EAS_I32 fileOffset; /* offset to start of data */ 49 EAS_I32 time; /* current time in 256ths of a msec */ 50 EAS_I32 tick; /* tick based on current tempo and resolution */ 51 EAS_I32 length; /* length of current note */ 52 EAS_I32 restorePos; /* return to here after block */
|
H A D | eas_effects.h | 38 void (*pfProcess)(EAS_VOID_PTR pInstData, EAS_PCM *in, EAS_PCM *out, EAS_I32 numSamples); 40 EAS_RESULT (*pFGetParam)(EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 *pValue); 41 EAS_RESULT (*pFSetParam)(EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 value); 47 void (*pfProcess)(EAS_VOID_PTR pInstData, EAS_I32 *in, EAS_I32 *out, EAS_I32 numSamples); 49 EAS_RESULT (*pFGetParam)(EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 *pValu [all...] |
H A D | eas_dlssynth.h | 34 void DLS_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum); 35 void DLS_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum); 36 void DLS_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum); 37 EAS_RESULT DLS_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex); 38 EAS_BOOL DLS_UpdateVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I32 numSamples);
|
H A D | eas_synth_protos.h | 41 EAS_BOOL (* EAS_CONST pfEndFrame)(EAS_FRAME_BUFFER_HANDLE pFrameBuffer, EAS_I32 *pMixBuffer, EAS_I16 masterGain); 49 EAS_RESULT (* EAS_CONST pfStartVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex); 50 EAS_BOOL (* EAS_CONST pfUpdateVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I32 numSamples); 51 void (* EAS_CONST pfReleaseVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum); 52 void (* EAS_CONST pfMuteVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum); 53 void (* EAS_CONST pfSustainPedal)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum);
|
H A D | eas_wtengine.c | 79 EAS_I32 *pMixBuffer; 81 EAS_I32 gain; 82 EAS_I32 gainIncrement; 83 EAS_I32 tmp0; 84 EAS_I32 tmp1; 85 EAS_I32 tmp2; 86 EAS_I32 numSamples; 89 EAS_I32 gainLeft, gainRight; 182 EAS_I32 phaseInc; 183 EAS_I32 phaseFra [all...] |
H A D | eas_math.c | 54 EAS_I32 EAS_Calculate2toX (EAS_I32 nCents) 56 EAS_I32 nDents; 57 EAS_I32 nExponentInt, nExponentFrac; 58 EAS_I32 nTemp1, nTemp2; 59 EAS_I32 nResult; 118 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain)
|
H A D | eas_chorus.c | 42 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples); 44 static EAS_RESULT ChorusGetParam (EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 *pValue); 45 static EAS_RESULT ChorusSetParam (EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 value); 89 EAS_I32 index; 125 ((((EAS_I32)CHORUS_SHAPE_SIZE<<16)/(20*(EAS_I32)_OUTPUT_SAMPLE_RATE)) * pChorusData->m_nRate); 132 (((((EAS_I32)pChorusData->m_nDepth * _OUTPUT_SAMPLE_RATE)>>5) * 105) >> 16); 167 ((((EAS_I32)CHORUS_SHAPE_SIZ [all...] |
H A D | eas_otadata.h | 50 EAS_I32 fileOffset; /* offset to location in file */ 60 EAS_I32 fileOffset; /* offset to start of data */ 61 EAS_I32 time; /* current time in 256ths of a msec */
|
H A D | eas_pcmdata.h | 54 EAS_I32 output; /* last output for DC offset filter */ 55 EAS_I32 acc; /* accumulator for DC offset filter */ 56 EAS_I32 step; /* current ADPCM step size */ 81 EAS_I32 time; /* media time */ 82 EAS_I32 startPos; /* start of PCM stream */ 83 EAS_I32 loopLocation; /* file location where loop starts */ 84 EAS_I32 byteCount; /* size of file */ 90 EAS_I32 samplesTilLoop; /* samples left to play until top of loop */ 91 EAS_I32 bytesLeft; /* count of bytes left in stream */ 92 EAS_I32 bytesLeftLoo [all...] |
H A D | eas_vm_protos.h | 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); 274 EAS_RESULT VMFindAvailableVoice (S_VOICE_MGR *pVoiceMgr, EAS_INT *pVoiceNumber, EAS_I32 lowVoice, EAS_I32 highVoice); 304 EAS_RESULT VMStealVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_INT *pVoiceNumber, EAS_U8 channel, EAS_U8 note, EAS_I32 lowVoice, EAS_I32 highVoice); 324 EAS_I32 VMAddSamples (S_VOICE_MGR *pVoiceMgr, EAS_I32 *pMixBuffer, EAS_I32 numSamplesToAdd); 615 void VMMuteVoice (S_VOICE_MGR *pVoiceMgr, EAS_I32 voiceNu [all...] |
H A D | eas_parser.h | 45 EAS_I32 bufferSize; 51 EAS_RESULT (* EAS_CONST pfCheckFileType)(struct s_eas_data_tag *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHandle, EAS_I32 offset); 60 EAS_RESULT (* EAS_CONST pfLocate)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_I32 time, EAS_BOOL *pParserLocate); 61 EAS_RESULT (* EAS_CONST pfSetData)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 value); 62 EAS_RESULT (* EAS_CONST pfGetData)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 *pValue); 63 EAS_RESULT (* EAS_CONST pfGetMetaData)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_I32 *pMediaLength);
|
H A D | eas_wtsynth.h | 61 void WT_SetFilterCoeffs (S_WT_INT_FRAME *pIntFrame, EAS_I32 cutoff, EAS_I32 resonance);
|
H A D | eas_mixer.c | 46 EAS_I32 MaximizerProcess (EAS_VOID_PTR pInstData, EAS_I32 *pSrc, EAS_I32 *pDst, EAS_I32 numSamples); 80 pEASData->pMixBuffer = EAS_HWMalloc(pEASData->hwInstData, BUFFER_SIZE_IN_MONO_SAMPLES * NUM_OUTPUT_CHANNELS * sizeof(EAS_I32)); 86 EAS_HWMemSet((void *)(pEASData->pMixBuffer), 0, BUFFER_SIZE_IN_MONO_SAMPLES * NUM_OUTPUT_CHANNELS * sizeof(EAS_I32)); 107 void EAS_MixEnginePrep (S_EAS_DATA *pEASData, EAS_I32 numSamples) 112 EAS_HWMemSet(pEASData->pMixBuffer, 0, numSamples * (EAS_I32) sizeof(long) * 2); 114 EAS_HWMemSet(pEASData->pMixBuffer, 0, (EAS_I32) numSamples * (EAS_I32) sizeo [all...] |
H A D | eas_smf.h | 34 EAS_RESULT SMF_CheckFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHandle, EAS_I32 offset); 43 EAS_RESULT SMF_SetData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 value); 44 EAS_RESULT SMF_GetData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 *pValue);
|
/external/sonivox/arm-wt-22k/host_src/ |
H A D | eas.h | 53 EAS_I32 maxVoices; 54 EAS_I32 numChannels; 55 EAS_I32 sampleRate; 56 EAS_I32 mixBufferSize; 169 EAS_PUBLIC EAS_RESULT EAS_Render (EAS_DATA_HANDLE pEASData, EAS_PCM *pOut, EAS_I32 numRequested, EAS_I32 *pNumGenerated); 192 EAS_PUBLIC EAS_RESULT EAS_SetRepeat (EAS_DATA_HANDLE pEASData, EAS_HANDLE streamHandle, EAS_I32 repeatCount); 215 EAS_PUBLIC EAS_RESULT EAS_GetRepeat (EAS_DATA_HANDLE pEASData, EAS_HANDLE streamHandle, EAS_I32 *pRepeatCount); 257 EAS_PUBLIC EAS_RESULT EAS_SetTransposition (EAS_DATA_HANDLE pEASData, EAS_HANDLE streamHandle, EAS_I32 transposition); 279 EAS_PUBLIC EAS_RESULT EAS_SetSynthPolyphony (EAS_DATA_HANDLE pEASData, EAS_I32 synthNu [all...] |
H A D | eas_host.h | 54 extern void *EAS_HWMemSet(void *s, int c, EAS_I32 n); 55 extern void *EAS_HWMemCpy(void *s1, const void *s2, EAS_I32 n); 56 extern EAS_I32 EAS_HWMemCmp(const void *s1, const void *s2, EAS_I32 n); 59 extern void *EAS_HWMalloc(EAS_HW_DATA_HANDLE hwInstData, EAS_I32 size); 64 extern EAS_RESULT EAS_HWReadFile(EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *pBuffer, EAS_I32 n, EAS_I32 *pBytesRead); 68 extern EAS_RESULT EAS_HWFilePos (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 *pPosition); 69 extern EAS_RESULT EAS_HWFileSeek (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 position); 70 extern EAS_RESULT EAS_HWFileSeekOfs (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 positio [all...] |
H A D | eas_wave.h | 66 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32 wBitsPerSample); 67 EAS_I32 WaveFileWrite (WAVE_FILE *wFile, void *buffer, EAS_I32 n);
|
/external/sonivox/arm-wt-22k/include/libsonivox/ |
H A D | eas.h | 53 EAS_I32 maxVoices; 54 EAS_I32 numChannels; 55 EAS_I32 sampleRate; 56 EAS_I32 mixBufferSize; 169 EAS_PUBLIC EAS_RESULT EAS_Render (EAS_DATA_HANDLE pEASData, EAS_PCM *pOut, EAS_I32 numRequested, EAS_I32 *pNumGenerated); 192 EAS_PUBLIC EAS_RESULT EAS_SetRepeat (EAS_DATA_HANDLE pEASData, EAS_HANDLE streamHandle, EAS_I32 repeatCount); 215 EAS_PUBLIC EAS_RESULT EAS_GetRepeat (EAS_DATA_HANDLE pEASData, EAS_HANDLE streamHandle, EAS_I32 *pRepeatCount); 257 EAS_PUBLIC EAS_RESULT EAS_SetTransposition (EAS_DATA_HANDLE pEASData, EAS_HANDLE streamHandle, EAS_I32 transposition); 279 EAS_PUBLIC EAS_RESULT EAS_SetSynthPolyphony (EAS_DATA_HANDLE pEASData, EAS_I32 synthNu [all...] |