mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
JNI method getPlayVolume() added
This commit is contained in:
parent
5bf95231b5
commit
29e89fc9de
2 changed files with 6 additions and 0 deletions
|
|
@ -1574,6 +1574,10 @@ extern "C" void Java_org_linphone_core_LinphoneCallImpl_setAuthenticationTokenVe
|
|||
linphone_call_set_authentication_token_verified(call, verified);
|
||||
}
|
||||
|
||||
extern "C" jfloat Java_org_linphone_core_LinphoneCallImpl_getPlayVolume(JNIEnv* env, jobject thiz, jlong ptr) {
|
||||
LinphoneCall *call = (LinphoneCall *) ptr;
|
||||
return linphone_call_get_play_volume(call);
|
||||
}
|
||||
|
||||
extern "C" jboolean Java_org_linphone_core_LinphoneCoreImpl_soundResourcesLocked(JNIEnv* env,jobject thiz,jlong ptr){
|
||||
return linphone_core_sound_resources_locked((LinphoneCore *) ptr);
|
||||
|
|
|
|||
|
|
@ -240,4 +240,6 @@ public interface LinphoneCall {
|
|||
void setAuthenticationTokenVerified(boolean verified);
|
||||
|
||||
boolean isInConference();
|
||||
|
||||
float getPlayVolume();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue