Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
29e89fc9
Commit
29e89fc9
authored
13 years ago
by
Sylvain Berfini
Browse files
Options
Download
Patches
Plain Diff
JNI method getPlayVolume() added
parent
5bf95231
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
coreapi/linphonecore_jni.cc
+4
-0
coreapi/linphonecore_jni.cc
java/common/org/linphone/core/LinphoneCall.java
+2
-0
java/common/org/linphone/core/LinphoneCall.java
with
6 additions
and
0 deletions
coreapi/linphonecore_jni.cc
+
4
−
0
View file @
29e89fc9
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
java/common/org/linphone/core/LinphoneCall.java
+
2
−
0
View file @
29e89fc9
...
@@ -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
();
}
}
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets