mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	allow sinks to be created with max_request initialized to 0, so that the data can be filled in later when attaching to some piggybacked sink
This commit is contained in:
		
							parent
							
								
									d3c1c920f0
								
							
						
					
					
						commit
						37bc240ee9
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -305,7 +305,6 @@ void pa_sink_put(pa_sink* s) {
 | 
			
		|||
    /* The following fields must be initialized properly when calling _put() */
 | 
			
		||||
    pa_assert(s->asyncmsgq);
 | 
			
		||||
    pa_assert(s->rtpoll);
 | 
			
		||||
    pa_assert(s->thread_info.max_request > 0);
 | 
			
		||||
    pa_assert(!s->thread_info.min_latency || !s->thread_info.max_latency ||
 | 
			
		||||
              s->thread_info.min_latency <= s->thread_info.max_latency);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue