Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
e29e3a4f
Commit
e29e3a4f
authored
8 years ago
by
Joshua Colp
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Binaural synthesis (confbridge): On/off setting for binaural synthesis."
parents
8b2b8be4
dce31f90
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/confbridge/conf_config_parser.c
+8
-0
8 additions, 0 deletions
apps/confbridge/conf_config_parser.c
apps/confbridge/include/confbridge.h
+1
-0
1 addition, 0 deletions
apps/confbridge/include/confbridge.h
with
9 additions
and
0 deletions
apps/confbridge/conf_config_parser.c
+
8
−
0
View file @
e29e3a4f
...
...
@@ -284,6 +284,13 @@ ASTERISK_REGISTER_FILE()
or 80.
</para></description>
</configOption>
<configOption name="binaural_active">
<synopsis>If true binaural conferencing with stereo audio is active</synopsis>
<description><para>
Activates binaural mixing for a conference bridge.
Binaural features are disabled by default.
</para></description>
</configOption>
<configOption name="record_conference">
<synopsis>Record the conference starting with the first active user's entrance and ending with the last active user's exit</synopsis>
<description><para>
...
...
@@ -2172,6 +2179,7 @@ int conf_load_config(void)
aco_option_register
(
&
cfg_info
,
"jitterbuffer"
,
ACO_EXACT
,
bridge_types
,
"no"
,
OPT_BOOLFLAG_T
,
1
,
FLDSET
(
struct
bridge_profile
,
flags
),
USER_OPT_JITTERBUFFER
);
/* "auto" will fail to parse as a uint, but we use PARSE_DEFAULT to set the value to 0 in that case, which is the value that auto resolves to */
aco_option_register
(
&
cfg_info
,
"internal_sample_rate"
,
ACO_EXACT
,
bridge_types
,
"0"
,
OPT_UINT_T
,
PARSE_DEFAULT
,
FLDSET
(
struct
bridge_profile
,
internal_sample_rate
),
0
);
aco_option_register
(
&
cfg_info
,
"binaural_active"
,
ACO_EXACT
,
bridge_types
,
"no"
,
OPT_BOOLFLAG_T
,
1
,
FLDSET
(
struct
bridge_profile
,
flags
),
BRIDGE_OPT_BINAURAL_ACTIVE
);
aco_option_register_custom
(
&
cfg_info
,
"mixing_interval"
,
ACO_EXACT
,
bridge_types
,
"20"
,
mix_interval_handler
,
0
);
aco_option_register
(
&
cfg_info
,
"record_conference"
,
ACO_EXACT
,
bridge_types
,
"no"
,
OPT_BOOLFLAG_T
,
1
,
FLDSET
(
struct
bridge_profile
,
flags
),
BRIDGE_OPT_RECORD_CONFERENCE
);
aco_option_register_custom
(
&
cfg_info
,
"video_mode"
,
ACO_EXACT
,
bridge_types
,
NULL
,
video_mode_handler
,
0
);
...
...
This diff is collapsed.
Click to expand it.
apps/confbridge/include/confbridge.h
+
1
−
0
View file @
e29e3a4f
...
...
@@ -71,6 +71,7 @@ enum bridge_profile_flags {
BRIDGE_OPT_VIDEO_SRC_FOLLOW_TALKER
=
(
1
<<
3
),
/*!< Set if conference set the video feed to follow the loudest talker. */
BRIDGE_OPT_RECORD_FILE_APPEND
=
(
1
<<
4
),
/*!< Set if the record file should be appended to between start/stops. */
BRIDGE_OPT_RECORD_FILE_TIMESTAMP
=
(
1
<<
5
),
/*< Set if the record file should have a timestamp appended */
BRIDGE_OPT_BINAURAL_ACTIVE
=
(
1
<<
6
),
/*< Set if binaural convolution is activated */
};
enum
conf_menu_action_id
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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