Commit 29e89fc9 authored by Sylvain Berfini's avatar Sylvain Berfini :cow:
Browse files

JNI method getPlayVolume() added

parent 5bf95231
No related merge requests found
Showing with 6 additions and 0 deletions
...@@ -1574,6 +1574,10 @@ extern "C" void Java_org_linphone_core_LinphoneCallImpl_setAuthenticationTokenVe ...@@ -1574,6 +1574,10 @@ extern "C" void Java_org_linphone_core_LinphoneCallImpl_setAuthenticationTokenVe
linphone_call_set_authentication_token_verified(call, verified); 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){ extern "C" jboolean Java_org_linphone_core_LinphoneCoreImpl_soundResourcesLocked(JNIEnv* env,jobject thiz,jlong ptr){
return linphone_core_sound_resources_locked((LinphoneCore *) ptr); return linphone_core_sound_resources_locked((LinphoneCore *) ptr);
......
...@@ -240,4 +240,6 @@ public interface LinphoneCall { ...@@ -240,4 +240,6 @@ public interface LinphoneCall {
void setAuthenticationTokenVerified(boolean verified); void setAuthenticationTokenVerified(boolean verified);
boolean isInConference(); boolean isInConference();
float getPlayVolume();
} }
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