/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_pcm.c | 46 static EAS_RESULT LinearPCMDecode (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 47 static EAS_RESULT LinearPCMLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time); 108 static EAS_RESULT RenderPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState, EAS_I32 numSamples); 113 static EAS_RESULT InitPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState); 133 S_PCM_STATE *pState; in EAS_PEInit() local 153 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PEInit() 154 pState->fileHandle = NULL; in EAS_PEInit() 208 S_PCM_STATE *pState; in EAS_PERender() local 213 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PERender() 215 …if ((pState->fileHandle) && (pState->state != EAS_STATE_STOPPED) && (pState->state != EAS_STATE_PA… in EAS_PERender() [all …]
|
D | eas_imaadpcm.c | 49 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 50 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 51 static void IMADecoderADPCM (S_DECODER_STATE *pState, EAS_U8 nibble); 52 static EAS_RESULT IMADecoderLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time); 82 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderInit() argument 84 pState->decoderL.step = 0; in IMADecoderInit() 85 pState->decoderR.step = 0; in IMADecoderInit() 105 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderSample() argument 111 if (pState->hiNibble) in IMADecoderSample() 113 IMADecoderADPCM(&pState->decoderL, (EAS_U8)(pState->srcByte >> 4)); in IMADecoderSample() [all …]
|
D | eas_pcm.h | 181 EAS_RESULT EAS_PEUpdateParams (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_… 196 EAS_RESULT EAS_PELocate (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I32 time); 221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume); 236 EAS_RESULT EAS_PEUpdatePitch (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch); 258 EAS_RESULT EAS_PEState (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_STATE *pState);
|
D | eas_pcmdata.h | 134 EAS_RESULT (* EAS_CONST pfInit)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 135 EAS_RESULT (* EAS_CONST pfDecodeSample)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 136 EAS_RESULT (* EAS_CONST pfLocate)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time); 154 EAS_RESULT EAS_PESeek (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 *pLocation);
|
D | eas_dlssynth.c | 45 …pChannel, const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue, EAS_I16 *pIncrement, EAS_U8 *pState); 467 …*pChannel, const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue, EAS_I16 *pIncrement, EAS_U8 *pState) in DLS_UpdateEnvelope() argument 471 switch (*pState) in DLS_UpdateEnvelope() 475 *pState = eEnvelopeStateDelay; in DLS_UpdateEnvelope() 490 *pState = eEnvelopeStateAttack; in DLS_UpdateEnvelope() 511 *pState = eEnvelopeStateHold; in DLS_UpdateEnvelope() 531 *pState = eEnvelopeStateDecay; in DLS_UpdateEnvelope() 551 *pState = eEnvelopeStateSustain; in DLS_UpdateEnvelope() 562 *pState = eEnvelopeStateMuted; in DLS_UpdateEnvelope()
|
D | eas_wavefile.c | 81 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState); 225 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState) in WaveState() argument 232 return EAS_PEState(pEASData, pWaveData->streamHandle, pState); in WaveState() 236 *pState = EAS_STATE_STOPPED; in WaveState() 238 *pState = EAS_STATE_OPEN; in WaveState()
|
D | eas_public.c | 1637 EAS_PUBLIC EAS_RESULT EAS_State (EAS_DATA_HANDLE pEASData, EAS_HANDLE pStream, EAS_STATE *pState) in EAS_State() argument 1647 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, pState)) != EAS_SUCCESS) in EAS_State() 1651 if (pStream->repeatCount && (*pState == EAS_STATE_STOPPED)) in EAS_State() 1652 *pState = EAS_STATE_PLAY; in EAS_State() 1655 if (*pState != EAS_STATE_PAUSED && *pState != EAS_STATE_PAUSING) in EAS_State() 1662 *pState = EAS_STATE_PAUSED; in EAS_State() 1664 *pState = EAS_STATE_PAUSING; in EAS_State() 1669 *pState = EAS_STATE_PLAY; in EAS_State()
|
D | eas_smf.h | 38 EAS_RESULT SMF_State (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
|
D | eas_parser.h | 55 … (* EAS_CONST pfState)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_pcm.c | 46 static EAS_RESULT LinearPCMDecode (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 47 static EAS_RESULT LinearPCMLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time); 108 static EAS_RESULT RenderPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState, EAS_I32 numSamples); 113 static EAS_RESULT InitPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState); 133 S_PCM_STATE *pState; in EAS_PEInit() local 153 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PEInit() 154 pState->fileHandle = NULL; in EAS_PEInit() 208 S_PCM_STATE *pState; in EAS_PERender() local 213 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PERender() 215 …if ((pState->fileHandle) && (pState->state != EAS_STATE_STOPPED) && (pState->state != EAS_STATE_PA… in EAS_PERender() [all …]
|
D | eas_imaadpcm.c | 49 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 50 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 51 static void IMADecoderADPCM (S_DECODER_STATE *pState, EAS_U8 nibble); 52 static EAS_RESULT IMADecoderLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time); 82 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderInit() argument 84 pState->decoderL.step = 0; in IMADecoderInit() 85 pState->decoderR.step = 0; in IMADecoderInit() 105 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderSample() argument 111 if (pState->hiNibble) in IMADecoderSample() 113 IMADecoderADPCM(&pState->decoderL, (EAS_U8)(pState->srcByte >> 4)); in IMADecoderSample() [all …]
|
D | eas_pcm.h | 181 EAS_RESULT EAS_PEUpdateParams (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_… 196 EAS_RESULT EAS_PELocate (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I32 time); 221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume); 236 EAS_RESULT EAS_PEUpdatePitch (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch); 258 EAS_RESULT EAS_PEState (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_STATE *pState);
|
D | eas_pcmdata.h | 134 EAS_RESULT (* EAS_CONST pfInit)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 135 EAS_RESULT (* EAS_CONST pfDecodeSample)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 136 EAS_RESULT (* EAS_CONST pfLocate)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time); 154 EAS_RESULT EAS_PESeek (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 *pLocation);
|
D | eas_wavefile.c | 81 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState); 225 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState) in WaveState() argument 232 return EAS_PEState(pEASData, pWaveData->streamHandle, pState); in WaveState() 236 *pState = EAS_STATE_STOPPED; in WaveState() 238 *pState = EAS_STATE_OPEN; in WaveState()
|
D | eas_smf.h | 38 EAS_RESULT SMF_State (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
|
D | eas_public.c | 1633 EAS_PUBLIC EAS_RESULT EAS_State (EAS_DATA_HANDLE pEASData, EAS_HANDLE pStream, EAS_STATE *pState) in EAS_State() argument 1643 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, pState)) != EAS_SUCCESS) in EAS_State() 1647 if (pStream->repeatCount && (*pState == EAS_STATE_STOPPED)) in EAS_State() 1648 *pState = EAS_STATE_PLAY; in EAS_State() 1651 if (*pState > EAS_STATE_PLAY) in EAS_State() 1658 *pState = EAS_STATE_PAUSED; in EAS_State() 1660 *pState = EAS_STATE_PAUSING; in EAS_State() 1665 *pState = EAS_STATE_PLAY; in EAS_State()
|
D | eas_parser.h | 55 … (* EAS_CONST pfState)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_pcm.c | 46 static EAS_RESULT LinearPCMDecode (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 47 static EAS_RESULT LinearPCMLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time); 108 static EAS_RESULT RenderPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState, EAS_I32 numSamples); 113 static EAS_RESULT InitPCMStream (S_EAS_DATA *pEASData, S_PCM_STATE *pState); 133 S_PCM_STATE *pState; in EAS_PEInit() local 153 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PEInit() 154 pState->fileHandle = NULL; in EAS_PEInit() 208 S_PCM_STATE *pState; in EAS_PERender() local 213 for (i = 0, pState = pEASData->pPCMStreams; i < MAX_PCM_STREAMS; i++, pState++) in EAS_PERender() 215 …if ((pState->fileHandle) && (pState->state != EAS_STATE_STOPPED) && (pState->state != EAS_STATE_PA… in EAS_PERender() [all …]
|
D | eas_imaadpcm.c | 49 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 50 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 51 static void IMADecoderADPCM (S_DECODER_STATE *pState, EAS_U8 nibble); 52 static EAS_RESULT IMADecoderLocate (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time); 82 static EAS_RESULT IMADecoderInit (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderInit() argument 84 pState->decoderL.step = 0; in IMADecoderInit() 85 pState->decoderR.step = 0; in IMADecoderInit() 105 static EAS_RESULT IMADecoderSample (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState) in IMADecoderSample() argument 111 if (pState->hiNibble) in IMADecoderSample() 113 IMADecoderADPCM(&pState->decoderL, (EAS_U8)(pState->srcByte >> 4)); in IMADecoderSample() [all …]
|
D | eas_pcm.h | 181 EAS_RESULT EAS_PEUpdateParams (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_… 196 EAS_RESULT EAS_PELocate (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I32 time); 221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume); 236 EAS_RESULT EAS_PEUpdatePitch (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch); 258 EAS_RESULT EAS_PEState (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE handle, EAS_STATE *pState);
|
D | eas_pcmdata.h | 134 EAS_RESULT (* EAS_CONST pfInit)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 135 EAS_RESULT (* EAS_CONST pfDecodeSample)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState); 136 EAS_RESULT (* EAS_CONST pfLocate)(EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 time); 154 EAS_RESULT EAS_PESeek (EAS_DATA_HANDLE pEASData, S_PCM_STATE *pState, EAS_I32 *pLocation);
|
D | eas_wavefile.c | 81 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState); 225 static EAS_RESULT WaveState (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState) in WaveState() argument 232 return EAS_PEState(pEASData, pWaveData->streamHandle, pState); in WaveState() 236 *pState = EAS_STATE_STOPPED; in WaveState() 238 *pState = EAS_STATE_OPEN; in WaveState()
|
D | eas_smf.h | 38 EAS_RESULT SMF_State (S_EAS_DATA *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
|
D | eas_public.c | 1633 EAS_PUBLIC EAS_RESULT EAS_State (EAS_DATA_HANDLE pEASData, EAS_HANDLE pStream, EAS_STATE *pState) in EAS_State() argument 1643 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, pState)) != EAS_SUCCESS) in EAS_State() 1647 if (pStream->repeatCount && (*pState == EAS_STATE_STOPPED)) in EAS_State() 1648 *pState = EAS_STATE_PLAY; in EAS_State() 1651 if (*pState > EAS_STATE_PLAY) in EAS_State() 1658 *pState = EAS_STATE_PAUSED; in EAS_State() 1660 *pState = EAS_STATE_PAUSING; in EAS_State() 1665 *pState = EAS_STATE_PLAY; in EAS_State()
|
D | eas_parser.h | 55 … (* EAS_CONST pfState)(struct s_eas_data_tag *pEASData, EAS_VOID_PTR pInstData, EAS_STATE *pState);
|