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
d22b1c04
Commit
d22b1c04
authored
13 years ago
by
Simon Morlat
Browse files
Options
Download
Patches
Plain Diff
merge patch to adjust software gain from console app
parent
68df42b2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
console/commands.c
+12
-0
console/commands.c
mediastreamer2
+1
-1
mediastreamer2
with
13 additions
and
1 deletion
console/commands.c
+
12
−
0
View file @
d22b1c04
...
...
@@ -90,6 +90,7 @@ static int lpc_cmd_pause(LinphoneCore *lc, char *args);
static
int
lpc_cmd_resume
(
LinphoneCore
*
lc
,
char
*
args
);
static
int
lpc_cmd_mute_mic
(
LinphoneCore
*
lc
,
char
*
args
);
static
int
lpc_cmd_unmute_mic
(
LinphoneCore
*
lc
,
char
*
args
);
static
int
lpc_cmd_playback_gain
(
LinphoneCore
*
lc
,
char
*
args
);
static
int
lpc_cmd_rtp_no_xmit_on_audio_mute
(
LinphoneCore
*
lc
,
char
*
args
);
#ifdef VIDEO_ENABLED
static
int
lpc_cmd_camera
(
LinphoneCore
*
lc
,
char
*
args
);
...
...
@@ -192,6 +193,8 @@ static LPC_COMMAND commands[] = {
#endif
{
"unmute"
,
lpc_cmd_unmute_mic
,
"Unmute microphone and resume voice transmission."
},
{
"playbackgain"
,
lpc_cmd_playback_gain
,
"Adjust playback gain."
},
{
"duration"
,
lpc_cmd_duration
,
"Print duration in seconds of the last call."
,
NULL
},
{
"autoanswer"
,
lpc_cmd_autoanswer
,
"Show/set auto-answer mode"
,
...
...
@@ -2303,6 +2306,15 @@ static int lpc_cmd_unmute_mic(LinphoneCore *lc, char *args){
return
1
;
}
static
int
lpc_cmd_playback_gain
(
LinphoneCore
*
lc
,
char
*
args
)
{
if
(
args
){
linphone_core_set_playback_gain_db
(
lc
,
atof
(
args
));
return
1
;
}
return
0
;
}
static
int
lpc_cmd_rtp_no_xmit_on_audio_mute
(
LinphoneCore
*
lc
,
char
*
args
)
{
bool_t
rtp_xmit_off
=
FALSE
;
...
...
This diff is collapsed.
Click to expand it.
mediastreamer2
@
c2ec52b0
Subproject commit
57319ab677c00e43b576b4204df870074a9216f6
Subproject commit
c2ec52b097ec3165cbfb2b93dc788383612e1569
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