JNI method getPlayVolume() added

This commit is contained in:
Sylvain Berfini 2011-12-30 17:06:32 +01:00
parent 5bf95231b5
commit 29e89fc9de
2 changed files with 6 additions and 0 deletions

View file

@ -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);

View file

@ -240,4 +240,6 @@ public interface LinphoneCall {
void setAuthenticationTokenVerified(boolean verified);
boolean isInConference();
float getPlayVolume();
}