mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	core: Add extended stream API to support compressed formats
This is the beginning of work to support compressed formats natively in PulseAudio. This adds a pa_stream_new_extended() that takes a format structure, sends it to the server (=> protocol extension) and has the server negotiate with the appropropriate sink to figure out what format it should use. This is work in progress, and works only with PCM streams. Actual compressed format support in some sink needs to be implemented, and extensive testing is required. More details on how this is supposed to work is available at: http://pulseaudio.org/wiki/PassthroughSupport
This commit is contained in:
		
							parent
							
								
									47e0f91aa2
								
							
						
					
					
						commit
						0ac2cfce6d
					
				
					 25 changed files with 347 additions and 82 deletions
				
			
		| 
						 | 
				
			
			@ -1212,7 +1212,7 @@ int pa__init(pa_module*m) {
 | 
			
		|||
    pa_sink_input_new_data_init(&sink_input_data);
 | 
			
		||||
    sink_input_data.driver = __FILE__;
 | 
			
		||||
    sink_input_data.module = m;
 | 
			
		||||
    sink_input_data.sink = master;
 | 
			
		||||
    pa_sink_input_new_data_set_sink(&sink_input_data, master, FALSE);
 | 
			
		||||
    sink_input_data.origin_sink = u->sink;
 | 
			
		||||
    pa_proplist_sets(sink_input_data.proplist, PA_PROP_MEDIA_NAME, "Equalized Stream");
 | 
			
		||||
    pa_proplist_sets(sink_input_data.proplist, PA_PROP_MEDIA_ROLE, "filter");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue