mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	stream: pa_stream_get_state: constify
This commit is contained in:
		
							parent
							
								
									a24be6cc13
								
							
						
					
					
						commit
						6ab533c7aa
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -331,7 +331,7 @@ pa_stream* pa_stream_ref(pa_stream *s) {
 | 
			
		|||
    return s;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pa_stream_state_t pa_stream_get_state(pa_stream *s) {
 | 
			
		||||
pa_stream_state_t pa_stream_get_state(const pa_stream *s) {
 | 
			
		||||
    pa_assert(s);
 | 
			
		||||
    pa_assert(PA_REFCNT_VALUE(s) >= 1);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -342,7 +342,7 @@ void pa_stream_unref(pa_stream *s);
 | 
			
		|||
pa_stream *pa_stream_ref(pa_stream *s);
 | 
			
		||||
 | 
			
		||||
/** Return the current state of the stream. */
 | 
			
		||||
pa_stream_state_t pa_stream_get_state(pa_stream *p);
 | 
			
		||||
pa_stream_state_t pa_stream_get_state(const pa_stream *p);
 | 
			
		||||
 | 
			
		||||
/** Return the context this stream is attached to. */
 | 
			
		||||
pa_context* pa_stream_get_context(pa_stream *p);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue