Home
last modified time | relevance | path

Searched refs:EAS_I32 (Results 1 – 25 of 60) sorted by relevance

123

/external/sonivox/arm-wt-22k/lib_src/
Deas_wtengine.c79 EAS_I32 *pMixBuffer; in WT_VoiceGain()
81 EAS_I32 gain; in WT_VoiceGain()
82 EAS_I32 gainIncrement; in WT_VoiceGain()
83 EAS_I32 tmp0; in WT_VoiceGain()
84 EAS_I32 tmp1; in WT_VoiceGain()
85 EAS_I32 tmp2; in WT_VoiceGain()
86 EAS_I32 numSamples; in WT_VoiceGain()
89 EAS_I32 gainLeft, gainRight; in WT_VoiceGain()
182 EAS_I32 phaseInc; in WT_Interpolate()
183 EAS_I32 phaseFrac; in WT_Interpolate()
[all …]
Deas_chorus.c42 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; in ChorusInit()
125 … ((((EAS_I32)CHORUS_SHAPE_SIZE<<16)/(20*(EAS_I32)_OUTPUT_SAMPLE_RATE)) * pChorusData->m_nRate); in ChorusInit()
132 (((((EAS_I32)pChorusData->m_nDepth * _OUTPUT_SAMPLE_RATE)>>5) * 105) >> 16); in ChorusInit()
167 … ((((EAS_I32)CHORUS_SHAPE_SIZE<<16)/(20*(EAS_I32)_OUTPUT_SAMPLE_RATE)) * pChorusData->m_nRate); in ChorusInit()
171 (((((EAS_I32)pChorusData->m_nDepth * _OUTPUT_SAMPLE_RATE)>>5) * 105) >> 16); in ChorusInit()
197 static EAS_I16 WeightedTap(const EAS_I16 *array, EAS_I16 indexReference, EAS_I32 indexDesired, EAS_… in WeightedTap()
252 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples) in ChorusProcess()
[all …]
Deas_vm_protos.h234 …_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex, EAS_I32 lowVoice, EAS_I32 highVoic…
274 …dAvailableVoice (S_VOICE_MGR *pVoiceMgr, EAS_INT *pVoiceNumber, EAS_I32 lowVoice, EAS_I32 highVoic…
304 …TH *pSynth, EAS_INT *pVoiceNumber, EAS_U8 channel, EAS_U8 note, EAS_I32 lowVoice, EAS_I32 highVoic…
324 EAS_I32 VMAddSamples (S_VOICE_MGR *pVoiceMgr, EAS_I32 *pMixBuffer, EAS_I32 numSamplesToAdd);
615 void VMMuteVoice (S_VOICE_MGR *pVoiceMgr, EAS_I32 voiceNum);
696 EAS_RESULT VMSetSynthPolyphony (S_VOICE_MGR *pVoiceMgr, EAS_I32 synth, EAS_I32 polyphonyCount);
716 EAS_RESULT VMGetSynthPolyphony (S_VOICE_MGR *pVoiceMgr, EAS_I32 synth, EAS_I32 *pPolyphonyCount);
737 EAS_RESULT VMSetPolyphony (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_I32 polyphonyCount);
756 EAS_RESULT VMGetPolyphony (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_I32 *pPolyphonyCount);
776 EAS_RESULT VMSetPriority (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_I32 priority);
[all …]
Deas_effects.h38 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 *pValue);
50 EAS_RESULT (*pFSetParam)(EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 value);
Deas_mdls.c227 EAS_I32 gain;
398 static const EAS_I32 dlsRateConvert = DLS_RATE_CONVERT;
399 static const EAS_I32 dlsLFOFrequencyConvert = DLS_LFO_FREQUENCY_CONVERT;
405 EAS_INLINE void *PtrOfs (void *p, EAS_I32 offset) in PtrOfs()
414 …EAS_RESULT NextChunk (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 *pPos, EAS_U32 *pChunkType, EAS_I32
415 …c EAS_RESULT Parse_ptbl (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, EAS_I32 wsmpPos, EAS_I32 ws…
416 static EAS_RESULT Parse_wave (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, EAS_U16 waveIndex);
417 static EAS_RESULT Parse_wsmp (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, S_WSMP_DATA *p);
418 static EAS_RESULT Parse_fmt (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, S_WSMP_DATA *p);
419 static EAS_RESULT Parse_data (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, EAS_I32 size, S_WSMP_DA…
[all …]
Deas_mixer.h79 void EAS_MixEnginePrep (EAS_DATA_HANDLE pEASData, EAS_I32 nNumSamplesToAdd);
96 void EAS_MixEnginePost (EAS_DATA_HANDLE pEASData, EAS_I32 nNumSamplesToAdd);
133 …nputBuffer, EAS_I32 *pMixBuffer, EAS_I32 numSamples, EAS_I32 gainLeft, EAS_I32 gainRight, EAS_I32
Deas_pcmdata.h54 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 */
92EAS_I32 bytesLeftLoop; /* count of bytes left in stream, value at start of loop */
[all …]
Deas_wavefile.c79 …FileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *pHandle, EAS_I32 offset);
84 static EAS_RESULT WaveLocate (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 time, EAS_BOOL …
87 static EAS_RESULT WaveSetData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32
88 static EAS_RESULT WaveGetData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32
90 static EAS_RESULT WaveGetMetaData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 *pMediaLen…
93 …FmtChunk (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, S_WAVE_STATE *pWaveData, EAS_I32 size);
137 …kFileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *pHandle, EAS_I32 offset) in WaveCheckFileType()
338 static EAS_RESULT WaveLocate (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 time, EAS_BOOL … in WaveLocate()
426 static EAS_RESULT WaveSetData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 in WaveSetData()
438 value = (EAS_I32) (PITCH_CENTS_CONVERSION * log10((double) value / (double) (1 << 28))); in WaveSetData()
[all …]
Deas_mixer.c46 EAS_I32 MaximizerProcess (EAS_VOID_PTR pInstData, EAS_I32 *pSrc, EAS_I32 *pDst, EAS_I32 numSamples);
80 …WMalloc(pEASData->hwInstData, BUFFER_SIZE_IN_MONO_SAMPLES * NUM_OUTPUT_CHANNELS * sizeof(EAS_I32)); in EAS_MixEngineInit()
86 … *)(pEASData->pMixBuffer), 0, BUFFER_SIZE_IN_MONO_SAMPLES * NUM_OUTPUT_CHANNELS * sizeof(EAS_I32)); in EAS_MixEngineInit()
107 void EAS_MixEnginePrep (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePrep()
112 EAS_HWMemSet(pEASData->pMixBuffer, 0, numSamples * (EAS_I32) sizeof(long) * 2); in EAS_MixEnginePrep()
114 EAS_HWMemSet(pEASData->pMixBuffer, 0, (EAS_I32) numSamples * (EAS_I32) sizeof(long)); in EAS_MixEnginePrep()
135 void EAS_MixEnginePost (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePost()
145 EAS_I32 temp; in EAS_MixEnginePost()
338 …nputBuffer, EAS_I32 *pMixBuffer, EAS_I32 numSamples, EAS_I32 gainLeft, EAS_I32 gainRight, EAS_I32 in EAS_MixStream()
340 EAS_I32 temp; in EAS_MixStream()
Deas_wtsynth.c52 …WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum);
53 static void WT_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v…
54 …R *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum);
55 …rtVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16…
56 … *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I3…
58 static EAS_I32 WT_UpdatePhaseInc (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL…
59 static EAS_I32 WT_UpdateGain (S_SYNTH_VOICE *pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pA…
65 extern EAS_BOOL WTE_EndFrame (EAS_FRAME_BUFFER_HANDLE pFrameBuffer, EAS_I32 *pMixBuffer, EAS_I16 ma…
166 … WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum) in WT_ReleaseVoice()
211 static void WT_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v… in WT_MuteVoice()
[all …]
Deas_imelodydata.h52 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 */
Deas_xmf.c56 …ileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHandle, EAS_I32 offset);
65 static EAS_RESULT XMF_SetData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32
66 static EAS_RESULT XMF_GetData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32
68 …ReadNode (EAS_HW_DATA_HANDLE hwInstData, S_XMF_DATA *pXMFData, EAS_I32 nodeOffset, EAS_I32 *pLengt…
69 static EAS_RESULT XMF_ReadVLQ (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 *…
113 …FileType (S_EAS_DATA *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHandle, EAS_I32 offset) in XMF_CheckFileType()
307 static EAS_RESULT XMF_State (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 *pState) in XMF_State()
437 static EAS_RESULT XMF_SetData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 in XMF_SetData()
460 static EAS_RESULT XMF_GetData (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 in XMF_GetData()
503 EAS_I32 value; in XMF_FindFileContents()
[all …]
Deas_synth_protos.h41 …EAS_BOOL (* EAS_CONST pfEndFrame)(EAS_FRAME_BUFFER_HANDLE pFrameBuffer, EAS_I32 *pMixBuffer, EAS_I…
49 …rtVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16…
50 … *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I3…
51 … pfReleaseVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum);
52 …NST pfMuteVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum);
53 …R *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum);
Deas_dlssynth.h34 void DLS_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNu…
35 void DLS_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voic…
36 …R *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
38 … *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I3…
Deas_public.c98 EAS_RESULT EAS_SetStreamParameter (S_EAS_DATA *pEASData, EAS_HANDLE pStream, EAS_I32 param, EAS_I32 in EAS_SetStreamParameter()
120 EAS_RESULT EAS_GetStreamParameter (S_EAS_DATA *pEASData, EAS_HANDLE pStream, EAS_I32 param, EAS_I32 in EAS_GetStreamParameter()
161 EAS_RESULT EAS_IntSetStrmParam (S_EAS_DATA *pEASData, EAS_HANDLE pStream, EAS_INT param, EAS_I32 va… in EAS_IntSetStrmParam()
171 …if (EAS_GetStreamParameter(pEASData, pStream, PARSER_DATA_SYNTH_HANDLE, (EAS_I32*) &pSynth) != EAS… in EAS_IntSetStrmParam()
227 EAS_RESULT EAS_IntGetStrmParam (S_EAS_DATA *pEASData, EAS_HANDLE pStream, EAS_INT param, EAS_I32 *p… in EAS_IntGetStrmParam()
237 …if (EAS_GetStreamParameter(pEASData, pStream, PARSER_DATA_SYNTH_HANDLE, (EAS_I32*) &pSynth) != EAS… in EAS_IntGetStrmParam()
564 EAS_RESULT EAS_OpenJETStream (EAS_DATA_HANDLE pEASData, EAS_FILE_HANDLE fileHandle, EAS_I32 offset,… in EAS_OpenJETStream()
764 EAS_I32 value; in EAS_GetWaveFmtChunk()
783 EAS_PUBLIC EAS_RESULT EAS_GetFileType (S_EAS_DATA *pEASData, EAS_HANDLE pStream, EAS_I32 *pFileType) in EAS_GetFileType()
857 …S_RESULT EAS_Render (EAS_DATA_HANDLE pEASData, EAS_PCM *pOut, EAS_I32 numRequested, EAS_I32 *pNumG… in EAS_Render()
[all …]
Deas_math.c54 EAS_I32 EAS_Calculate2toX (EAS_I32 nCents) in EAS_Calculate2toX()
56 EAS_I32 nDents; in EAS_Calculate2toX()
57 EAS_I32 nExponentInt, nExponentFrac; in EAS_Calculate2toX()
58 EAS_I32 nTemp1, nTemp2; in EAS_Calculate2toX()
59 EAS_I32 nResult; in EAS_Calculate2toX()
118 EAS_U16 EAS_LogToLinear16 (EAS_I32 nGain) in EAS_LogToLinear16()
Deas_parser.h45 EAS_I32 bufferSize;
51 …ruct s_eas_data_tag *pEASData, EAS_FILE_HANDLE fileHandle, EAS_VOID_PTR *ppHandle, EAS_I32 offset);
60 …CONST pfLocate)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_I32 time, EAS_BOOL *p…
61 … pfSetData)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 value);
62 …fGetData)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 *pValue);
63 …NST pfGetMetaData)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_I32 *pMediaLength);
Deas_reverb.c47 static void ReverbProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples…
49 static EAS_RESULT ReverbGetParam (EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 *pValue);
50 static EAS_RESULT ReverbSetParam (EAS_VOID_PTR pInstData, EAS_I32 param, EAS_I32 value);
77 EAS_I32 i; in ReverbInit()
275 static void ReverbProcess(EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples) in ReverbProcess()
286 EAS_HWMemCpy(pSrc, pDst, numSamples * NUM_OUTPUT_CHANNELS * (EAS_I32) sizeof(EAS_PCM)); in ReverbProcess()
466 EAS_I32 nTemp; in ReverbCalculateSinCos()
467 EAS_I32 nNetAngle; in ReverbCalculateSinCos()
527 EAS_I32 i; in Reverb()
528 EAS_I32 nDelayOut; in Reverb()
[all …]
Deas_imaadpcm.c52 static EAS_RESULT IMADecoderLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time);
124 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pState->fileHandle, (EAS_I32) (pState->startPos… in IMADecoderSample()
126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; in IMADecoderSample()
280 static EAS_RESULT IMADecoderLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time) in IMADecoderLocate()
283 EAS_I32 temp; in IMADecoderLocate()
284 EAS_I32 samplesPerBlock; in IMADecoderLocate()
285 EAS_I32 secs, msecs; in IMADecoderLocate()
323 EAS_I32 numBlocks; in IMADecoderLocate()
324 EAS_I32 samplesPerLoop; in IMADecoderLocate()
325 EAS_I32 samplesInLastBlock; in IMADecoderLocate()
[all …]
/external/sonivox/arm-wt-22k/host_src/
Deas.h53 EAS_I32 maxVoices;
54 EAS_I32 numChannels;
55 EAS_I32 sampleRate;
56 EAS_I32 mixBufferSize;
169 …S_RESULT EAS_Render (EAS_DATA_HANDLE pEASData, EAS_PCM *pOut, EAS_I32 numRequested, EAS_I32 *pNumG…
192 EAS_PUBLIC EAS_RESULT EAS_SetRepeat (EAS_DATA_HANDLE pEASData, EAS_HANDLE streamHandle, EAS_I32 rep…
215 EAS_PUBLIC EAS_RESULT EAS_GetRepeat (EAS_DATA_HANDLE pEASData, EAS_HANDLE streamHandle, EAS_I32 *pR…
257 …LT 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 synthNum, EAS_I32 po…
298 EAS_PUBLIC EAS_RESULT EAS_GetSynthPolyphony (EAS_DATA_HANDLE pEASData, EAS_I32 synthNum, EAS_I32 *p…
[all …]
Deas_host.h54 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 …AS_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 *pPos…
69 extern EAS_RESULT EAS_HWFileSeek (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 posi…
70 extern EAS_RESULT EAS_HWFileSeekOfs (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 p…
71 extern EAS_RESULT EAS_HWFileLength (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 *p…
Deas_wave.c132 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32 in WaveFileCreate()
200 EAS_I32 WaveFileWrite (WAVE_FILE *wFile, void *buffer, EAS_I32 n) in WaveFileWrite()
202 EAS_I32 count; in WaveFileWrite()
212 EAS_I32 i; in WaveFileWrite()
222 count = (EAS_I32) fwrite(buffer, 1, (size_t) n, wFile->file); in WaveFileWrite()
246 EAS_I32 count = 1; in WaveFileClose()
257 count = (EAS_I32) fwrite(&wFile->wh, sizeof(WAVE_HEADER), 1, wFile->file); in WaveFileClose()
300 EAS_I32 startChunkPos; in WaveFileOpen()
366 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen()
378 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen()
[all …]
Deas_main.c50 EAS_I32 polyphony;
53 static void StrCopy(char *dest, const char *src, EAS_I32 size);
54 static EAS_BOOL ChangeFileExt(char *str, const char *ext, EAS_I32 size);
55 …ame, const char* outputFile, const S_EAS_LIB_CONFIG *pLibConfig, void *buffer, EAS_I32 bufferSize);
73 …name, const char* outputFile, const S_EAS_LIB_CONFIG *pLibConfig, void *buffer, EAS_I32 bufferSize) in PlayFile()
77 EAS_I32 count; in PlayFile()
79 EAS_I32 playTime; in PlayFile()
225 EAS_I32 bufferSize; in main()
283 …bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_… in main()
364 static void StrCopy(char *dest, const char *src, EAS_I32 size) in StrCopy()
[all …]
/external/sonivox/arm-wt-22k/misc/
Deas_host.c88 EAS_I32 bytesInBuffer;
89 EAS_I32 readIndex;
90 EAS_I32 filePos;
156 void *EAS_HWMalloc (EAS_HW_DATA_HANDLE hwInstData, EAS_I32 size) in EAS_HWMalloc()
192 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) in EAS_HWMemCpy()
205 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) in EAS_HWMemSet()
218 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) in EAS_HWMemCmp()
220 return (EAS_I32) memcmp(s1, s2, (size_t) amount); in EAS_HWMemCmp()
291 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile); in EAS_HWFillBuffer()
306 …EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *pBuffer, EAS_I32 n, EAS_I32 *pBytesRead) in EAS_HWReadFile()
[all …]
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
DEASLibVst.c72 EAS_I32 bytesInBuffer;
73 EAS_I32 readIndex;
74 EAS_I32 filePos;
75 EAS_I32 fileSize;
82 EAS_I32 fileSize;
83 EAS_I32 filePos;
426 void *EAS_HWMalloc (EAS_HW_DATA_HANDLE hwInstData, EAS_I32 size) in EAS_HWMalloc()
457 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) in EAS_HWMemCpy()
470 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) in EAS_HWMemSet()
483 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) in EAS_HWMemCmp()
[all …]

123