explain the mem_assert macro to me
Posted: Tue May 07, 2019 4:40 pm
I am tinkering around esp-adf and found this snippet of code
what is the mem_assert(piperline) line does ?
it's defined in audio_common.h
#define mem_assert(x)
can anyone explain ?
Code: Select all
ESP_LOGI(TAG, "[3.0] Create audio pipeline for playback");
audio_pipeline_cfg_t pipeline_cfg = DEFAULT_AUDIO_PIPELINE_CONFIG();
pipeline = audio_pipeline_init(&pipeline_cfg);
mem_assert(pipeline);
what is the mem_assert(piperline) line does ?
it's defined in audio_common.h
#define mem_assert(x)
can anyone explain ?