Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp205 #define CHECK_ARG(cond) { \ macro
230 CHECK_ARG(pContext != NULL); in Equalizer_setConfig()
231 CHECK_ARG(pConfig != NULL); in Equalizer_setConfig()
233 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Equalizer_setConfig()
234 CHECK_ARG(pConfig->inputCfg.channels == pConfig->outputCfg.channels); in Equalizer_setConfig()
235 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format); in Equalizer_setConfig()
236 CHECK_ARG((pConfig->inputCfg.channels == AUDIO_CHANNEL_OUT_MONO) || in Equalizer_setConfig()
238 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Equalizer_setConfig()
240 CHECK_ARG(pConfig->inputCfg.format == AUDIO_FORMAT_PCM_16_BIT); in Equalizer_setConfig()
248 CHECK_ARG(channelCount <= AudioBiquadFilter::MAX_CHANNELS); in Equalizer_setConfig()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp343 #define CHECK_ARG(cond) { \ macro
649 CHECK_ARG(pContext != NULL); in Reverb_setConfig()
650 CHECK_ARG(pConfig != NULL); in Reverb_setConfig()
652 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Reverb_setConfig()
653 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format); in Reverb_setConfig()
654 CHECK_ARG((pContext->auxiliary && pConfig->inputCfg.channels == AUDIO_CHANNEL_OUT_MONO) || in Reverb_setConfig()
656 CHECK_ARG(pConfig->outputCfg.channels == AUDIO_CHANNEL_OUT_STEREO); in Reverb_setConfig()
657 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Reverb_setConfig()
659 CHECK_ARG(pConfig->inputCfg.format == EFFECT_BUFFER_FORMAT); in Reverb_setConfig()
760 CHECK_ARG(pContext != NULL); in Reverb_init()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp77 #define CHECK_ARG(cond) { \ macro
559 CHECK_ARG(pContext != NULL); in LvmBundle_init()
1235 CHECK_ARG(pContext != NULL); in Effect_setConfig()
1236 CHECK_ARG(pConfig != NULL); in Effect_setConfig()
1238 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate); in Effect_setConfig()
1239 CHECK_ARG(pConfig->inputCfg.channels == pConfig->outputCfg.channels); in Effect_setConfig()
1240 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format); in Effect_setConfig()
1241 CHECK_ARG(pConfig->inputCfg.channels == AUDIO_CHANNEL_OUT_STEREO); in Effect_setConfig()
1242 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Effect_setConfig()
1244 CHECK_ARG(pConfig->inputCfg.format == EFFECT_BUFFER_FORMAT); in Effect_setConfig()