mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	don't set the sink/source descriptions manually, use the new functions pa_{sink,source}_set_description() instead
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1205 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									af1b0317f6
								
							
						
					
					
						commit
						bfa6604b1d
					
				
					 15 changed files with 69 additions and 41 deletions
				
			
		| 
						 | 
				
			
			@ -141,7 +141,7 @@ int pa__init(pa_core *c, pa_module*m) {
 | 
			
		|||
    u->sink->get_latency = get_latency;
 | 
			
		||||
    u->sink->userdata = u;
 | 
			
		||||
    pa_sink_set_owner(u->sink, m);
 | 
			
		||||
    u->sink->description = pa_xstrdup("NULL sink");
 | 
			
		||||
    pa_sink_set_description(u->sink, "NULL sink");
 | 
			
		||||
 | 
			
		||||
    u->n_bytes = 0;
 | 
			
		||||
    pa_gettimeofday(&u->start_time);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue