Commit b68cbde6 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

nothing

parent d7a1c2d6
......@@ -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));
......
......@@ -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; }
......
Supports Markdown
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