From b68cbde65a6b2014b0b0b0084a6c205c6635f4e5 Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Fri, 8 Feb 2008 16:54:44 -0500 Subject: [PATCH] nothing --- sflphone-gtk/src/actions.c | 4 ++-- src/audio/audiocodec.h | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sflphone-gtk/src/actions.c b/sflphone-gtk/src/actions.c index 83a75171e6..37dfea4751 100644 --- a/sflphone-gtk/src/actions.c +++ b/sflphone-gtk/src/actions.c @@ -587,7 +587,7 @@ sflphone_fill_codec_list() gchar** order = (gchar**)dbus_get_active_codec_list(); gchar** details; gchar** pl; - + for(pl=order; *order; order++) { codec_t * c = g_new0(codec_t, 1); @@ -601,7 +601,7 @@ sflphone_fill_codec_list() c->_bandwidth = atof(details[3]); codec_list_add(c); } - + for(pl=codecs; *codecs; codecs++) { details = (gchar **)dbus_codec_details(atoi(*codecs)); diff --git a/src/audio/audiocodec.h b/src/audio/audiocodec.h index 6289a06268..39651240b1 100644 --- a/src/audio/audiocodec.h +++ b/src/audio/audiocodec.h @@ -30,16 +30,18 @@ public: // _active = false; _hasDynamicPayload = (_payload >= 96 && _payload <= 127) ? true : false; + + } virtual ~AudioCodec() {} - /** * @return the number of bytes decoded */ virtual int codecDecode(short *, unsigned char *, unsigned int) = 0; virtual int codecEncode(unsigned char *, short *, unsigned int) = 0; + /** Value used for SDP negotiation */ std::string getCodecName() { return _codecName; } int getPayload() { return _payload; } -- GitLab