Commit b74d95e4 authored by Sandrine Avakian's avatar Sandrine Avakian
Browse files

Use ms_factory_get_cpu_count instead of deprecated ms_get_cpu_count in call_tester.

parent 0f67bd96
...@@ -667,7 +667,7 @@ static void call_with_specified_codec_bitrate(void) { ...@@ -667,7 +667,7 @@ static void call_with_specified_codec_bitrate(void) {
int max_bw=50; int max_bw=50;
#ifdef __arm__ #ifdef __arm__
if (ms_get_cpu_count() <2) { /*2 opus codec channel + resampler is too much for a single core*/ if (ms_factory_get_cpu_count(marie->lc->factory) <2) { /*2 opus codec channel + resampler is too much for a single core*/
#ifndef ANDROID #ifndef ANDROID
codec = "speex"; codec = "speex";
rate = 8000; rate = 8000;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment