mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +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:
		| @@ -3736,6 +3736,13 @@ void ast_bridge_set_mixing_interval(struct ast_bridge *bridge, unsigned int mixi | ||||
| 	ast_bridge_unlock(bridge); | ||||
| } | ||||
|  | ||||
| void ast_bridge_set_binaural_active(struct ast_bridge *bridge, unsigned int binaural_active) | ||||
| { | ||||
| 	ast_bridge_lock(bridge); | ||||
| 	bridge->softmix.binaural_active = binaural_active; | ||||
| 	ast_bridge_unlock(bridge); | ||||
| } | ||||
|  | ||||
| void ast_bridge_set_internal_sample_rate(struct ast_bridge *bridge, unsigned int sample_rate) | ||||
| { | ||||
| 	ast_bridge_lock(bridge); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user