mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	
		
			
	
	
		
			20 lines
		
	
	
	
		
			403 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
	
		
			403 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								  [title]
							 | 
						||
| 
								 | 
							
								  \ref page_tutorial1
							 | 
						||
| 
								 | 
							
								  [title]
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								/* [code] */
							 | 
						||
| 
								 | 
							
								#include <pipewire/pipewire.h>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								int main(int argc, char *argv[])
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
									pw_init(&argc, &argv);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									fprintf(stdout, "Compiled with libpipewire %s\n"
							 | 
						||
| 
								 | 
							
								                        "Linked with libpipewire %s\n",
							 | 
						||
| 
								 | 
							
								                                pw_get_headers_version(),
							 | 
						||
| 
								 | 
							
								                                pw_get_library_version());
							 | 
						||
| 
								 | 
							
									return 0;
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								/* [code] */
							 |