mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 14:18:07 +00:00
C++ wrapper: fix wrapping of the 'number' property of LinphonePayloadType
This commit is contained in:
parent
f06fd6f0a9
commit
7d49d04548
2 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue