mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	audio-session - >media-session
Also implement video in the media session Small cleanups Improve exclusive mode
This commit is contained in:
		
							parent
							
								
									bed26040ef
								
							
						
					
					
						commit
						e02b3181da
					
				
					 9 changed files with 91 additions and 49 deletions
				
			
		
							
								
								
									
										45
									
								
								src/modules/module-media-session/audio-dsp.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								src/modules/module-media-session/audio-dsp.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,45 @@
 | 
			
		|||
/* PipeWire
 | 
			
		||||
 * Copyright (C) 2018 Wim Taymans <wim.taymans@gmail.com>
 | 
			
		||||
 *
 | 
			
		||||
 * This library is free software; you can redistribute it and/or
 | 
			
		||||
 * modify it under the terms of the GNU Library General Public
 | 
			
		||||
 * License as published by the Free Software Foundation; either
 | 
			
		||||
 * version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 *
 | 
			
		||||
 * This library is distributed in the hope that it will be useful,
 | 
			
		||||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
 * Library General Public License for more details.
 | 
			
		||||
 *
 | 
			
		||||
 * You should have received a copy of the GNU Library General Public
 | 
			
		||||
 * License along with this library; if not, write to the
 | 
			
		||||
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 | 
			
		||||
 * Boston, MA 02110-1301, USA.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef __PIPEWIRE_AUDIO_DSP_H__
 | 
			
		||||
#define __PIPEWIRE_AUDIO_DSP_H__
 | 
			
		||||
 | 
			
		||||
#include <pipewire/core.h>
 | 
			
		||||
#include <pipewire/node.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
struct pw_node *
 | 
			
		||||
pw_audio_dsp_new(struct pw_core *core,
 | 
			
		||||
		 const struct pw_properties *properties,
 | 
			
		||||
		 enum pw_direction direction,
 | 
			
		||||
		 uint32_t channels,
 | 
			
		||||
		 uint32_t sample_rate,
 | 
			
		||||
		 uint32_t max_buffer_size,
 | 
			
		||||
		 size_t user_data_size);
 | 
			
		||||
 | 
			
		||||
void *pw_audio_dsp_get_user_data(struct pw_node *node);
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif /* __PIPEWIRE_AUDIO_DSP_H__ */
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue