Searched refs:sampleFormatsJson (Results 1 – 1 of 1) sorted by relevance
425 cJSON *sampleFormatsJson = cJSON_CreateArray(); in ToJson() local426 if (sampleFormatsJson == nullptr) { in ToJson()430 … cJSON_AddItemToArray(sampleFormatsJson, cJSON_CreateNumber(static_cast<uint8_t>(sampleFormat))); in ToJson()432 cJSON_AddItemToObject(jsonObject, AUDIO_SAMPLE_FORMAT.c_str(), sampleFormatsJson); in ToJson()