mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Binaural synthesis (confbridge): Adds binaural synthesis to bridge_softmix.
Adds binaural synthesis to bridge_softmix (via convolution using libfftw3). Binaural synthesis is conducted at 48kHz. For a conference, only one spatial representation is rendered. The default rendering is applied for mono-capable channels. ASTERISK-26292 Change-Id: Iecdb381b6adc17c961049658678f6219adae1ddf
This commit is contained in:
@@ -238,6 +238,10 @@ static enum support_level_values string_to_support_level(const char *support_lev
|
||||
return SUPPORT_EXTERNAL;
|
||||
}
|
||||
|
||||
if (!strcasecmp(support_level, "option")) {
|
||||
return SUPPORT_OPTION;
|
||||
}
|
||||
|
||||
return SUPPORT_UNSPECIFIED;
|
||||
}
|
||||
|
||||
@@ -253,6 +257,8 @@ static const char *support_level_to_string(enum support_level_values support_lev
|
||||
return "Deprecated";
|
||||
case SUPPORT_EXTERNAL:
|
||||
return "External";
|
||||
case SUPPORT_OPTION:
|
||||
return "Module Options";
|
||||
default:
|
||||
return "Unspecified";
|
||||
}
|
||||
@@ -461,7 +467,7 @@ static int process_xml_member_node(xmlNode *node, struct category *cat)
|
||||
process_process_xml_category_child_node(cur, mem);
|
||||
}
|
||||
|
||||
if (!cat->positive_output) {
|
||||
if (!cat->positive_output && strcasecmp(mem->support_level, "option")) {
|
||||
mem->enabled = 1;
|
||||
if (!mem->defaultenabled || strcasecmp(mem->defaultenabled, "no")) {
|
||||
mem->was_enabled = 1;
|
||||
|
Reference in New Issue
Block a user