mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	modules: Use PA_IDXSET_FOREACH wherever applicable.
Signed-off-by: Harsh Prateek Bora <harsh.bora@linaro.org>
This commit is contained in:
		
							parent
							
								
									0236977408
								
							
						
					
					
						commit
						f38c1e9bf9
					
				
					 6 changed files with 9 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -328,7 +328,7 @@ int pa__init(pa_module*m) {
 | 
			
		|||
    pa_log_info("Successfully opened database file '%s'.", fname);
 | 
			
		||||
    pa_xfree(fname);
 | 
			
		||||
 | 
			
		||||
    for (card = pa_idxset_first(m->core->cards, &idx); card; card = pa_idxset_next(m->core->cards, &idx))
 | 
			
		||||
    PA_IDXSET_FOREACH(card, m->core->cards, idx)
 | 
			
		||||
        subscribe_callback(m->core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_NEW, card->index, u);
 | 
			
		||||
 | 
			
		||||
    pa_modargs_free(ma);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue