From: Simon Morlat Date: Mon, 1 Oct 2012 19:08:23 +0000 (+0200) Subject: set high prio to calibrator thread X-Git-Url: http://sjero.net/git/?a=commitdiff_plain;h=9ac0fdee297a68c8137f664034429e1ada81c92e;p=linphone set high prio to calibrator thread --- diff --git a/coreapi/ec-calibrator.c b/coreapi/ec-calibrator.c index 2f4fa650..5fbf7a1f 100644 --- a/coreapi/ec-calibrator.c +++ b/coreapi/ec-calibrator.c @@ -29,7 +29,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. static void ecc_init_filters(EcCalibrator *ecc){ unsigned int rate; - ecc->ticker=ms_ticker_new(); + MSTickerParams params={0}; + params.name="Echo calibrator"; + params.prio=MS_TICKER_PRIO_HIGH; + ecc->ticker=ms_ticker_new_with_params(¶ms); ecc->sndread=ms_snd_card_create_reader(ecc->play_card); ms_filter_call_method(ecc->sndread,MS_FILTER_SET_SAMPLE_RATE,&ecc->rate); diff --git a/mediastreamer2 b/mediastreamer2 index 28f57ace..c3d6a095 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 28f57ace8c7c1d20f93de338951bc471eb523ab1 +Subproject commit c3d6a095338c7d98647517b949e06e0b85f6443e