Commit 7d49d045 authored by François Grisez's avatar François Grisez
Browse files

C++ wrapper: fix wrapping of the 'number' property of LinphonePayloadType

parent f06fd6f0
......@@ -93,7 +93,7 @@ int linphone_core_get_payload_type_number(LinphoneCore *lc, const PayloadType *p
return linphone_payload_type_get_number(pt);
int linphone_payload_type_get_number(const PayloadType *pt) {
int linphone_payload_type_get_number(const LinphonePayloadType *pt) {
return payload_type_get_number(pt);
......@@ -101,7 +101,7 @@ void linphone_core_set_payload_type_number(LinphoneCore *lc, PayloadType *pt, in
linphone_payload_type_set_number(pt, number);
void linphone_payload_type_set_number(PayloadType *pt, int number) {
void linphone_payload_type_set_number(LinphonePayloadType *pt, int number) {
payload_type_set_number(pt, number);
......@@ -67,7 +67,7 @@ LINPHONE_PUBLIC int linphone_payload_type_get_channels(const LinphonePayloadType
* @param[in] pt LinphonePayloadType object
* @return The number of the payload type
LINPHONE_PUBLIC int linphone_payload_type_get_number(const PayloadType *pt);
LINPHONE_PUBLIC int linphone_payload_type_get_number(const LinphonePayloadType *pt);
* Force a number for a payload type. The LinphoneCore does payload type number assignment automatically. THis function is to be used mainly for tests, in order
......@@ -75,7 +75,7 @@ LINPHONE_PUBLIC int linphone_payload_type_get_number(const PayloadType *pt);
* @param[in] pt LinphonePayloadType object
* @param[in] number The number to assign to the payload type
LINPHONE_PUBLIC void linphone_payload_type_set_number(PayloadType *pt, int number);
LINPHONE_PUBLIC void linphone_payload_type_set_number(LinphonePayloadType *pt, int number);
* Tells whether the specified payload type represents a variable bitrate codec.
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