Home
last modified time | relevance | path

Searched refs:CHECK_ARG (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp202 #define CHECK_ARG(cond) { \ macro
227 CHECK_ARG(pContext != NULL); in Equalizer_setConfig()
228 CHECK_ARG(pConfig != NULL); in Equalizer_setConfig()
230 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Equalizer_setConfig()
231 CHECK_ARG(pConfig->inputCfg.channels == pConfig->outputCfg.channels); in Equalizer_setConfig()
232 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format); in Equalizer_setConfig()
233 CHECK_ARG((pConfig->inputCfg.channels == AUDIO_CHANNEL_OUT_MONO) || in Equalizer_setConfig()
235 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Equalizer_setConfig()
237 CHECK_ARG(pConfig->inputCfg.format == AUDIO_FORMAT_PCM_16_BIT); in Equalizer_setConfig()
245 CHECK_ARG(channelCount <= AudioBiquadFilter::MAX_CHANNELS); in Equalizer_setConfig()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp322 #define CHECK_ARG(cond) { \ macro
609 CHECK_ARG(pContext != NULL); in Reverb_setConfig()
610 CHECK_ARG(pConfig != NULL); in Reverb_setConfig()
612 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Reverb_setConfig()
613 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format); in Reverb_setConfig()
614 CHECK_ARG((pContext->auxiliary && pConfig->inputCfg.channels == AUDIO_CHANNEL_OUT_MONO) || in Reverb_setConfig()
616 CHECK_ARG(pConfig->outputCfg.channels == AUDIO_CHANNEL_OUT_STEREO); in Reverb_setConfig()
617 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Reverb_setConfig()
619 CHECK_ARG(pConfig->inputCfg.format == AUDIO_FORMAT_PCM_16_BIT); in Reverb_setConfig()
715 CHECK_ARG(pContext != NULL); in Reverb_init()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp75 #define CHECK_ARG(cond) { \ macro
528 CHECK_ARG(pContext != NULL); in LvmBundle_init()
1093 CHECK_ARG(pContext != NULL); in Effect_setConfig()
1094 CHECK_ARG(pConfig != NULL); in Effect_setConfig()
1096 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Effect_setConfig()
1097 CHECK_ARG(pConfig->inputCfg.channels == pConfig->outputCfg.channels); in Effect_setConfig()
1098 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format); in Effect_setConfig()
1099 CHECK_ARG(pConfig->inputCfg.channels == AUDIO_CHANNEL_OUT_STEREO); in Effect_setConfig()
1100 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Effect_setConfig()
1102 CHECK_ARG(pConfig->inputCfg.format == AUDIO_FORMAT_PCM_16_BIT); in Effect_setConfig()