From 30025aa01dfc70d78f73c52f6e43dd9d5ec1f456 Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandre.savard@savoirfairelinux.com> Date: Wed, 15 Sep 2010 16:41:34 -0400 Subject: [PATCH] [#3376] Code cleanup --- .../src/audio/audiortp/AudioRtpSession.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/sflphone-common/src/audio/audiortp/AudioRtpSession.h b/sflphone-common/src/audio/audiortp/AudioRtpSession.h index 61b2d6be81..eb40be808d 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpSession.h +++ b/sflphone-common/src/audio/audiortp/AudioRtpSession.h @@ -274,11 +274,6 @@ class AudioRtpSession : public ost::Thread, public ost::TimerPort */ EventQueue _eventQueue; - /** - * Adaptive jitter buffer - */ - jitterbuf * _jbuffer; - /** * Packet size in ms */ @@ -345,7 +340,6 @@ AudioRtpSession<D>::AudioRtpSession (ManagerImpl * manager, SIPCall * sipcall) : _timestampIncrement (0), _timestampCount (0), _countNotificationTime (0), - _jbuffer (NULL), _noiseState (NULL), _micFadeInComplete (false), _spkrFadeInComplete (false), @@ -369,12 +363,6 @@ AudioRtpSession<D>::AudioRtpSession (ManagerImpl * manager, SIPCall * sipcall) : _layerFrameSize = _audiolayer->getFrameSize(); // in ms _layerSampleRate = _audiolayer->getSampleRate(); - _jbuffer = jb_new(); - - _jbuffer->info.conf.max_jitterbuf = 1000; - _jbuffer->info.conf.target_extra = 100; - _jbuffer->info.silence_begin_ts = 0; - _ts= 0; _packetLength = 20; _currentTime = 0; @@ -428,10 +416,6 @@ AudioRtpSession<D>::~AudioRtpSession() _audiocodec = NULL; } - if (_jbuffer) { - jb_destroy (_jbuffer); - } - if (_noiseState) { speex_preprocess_state_destroy (_noiseState); } -- GitLab