mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	Fixed C++ compilation.
This commit is contained in:
		
							parent
							
								
									22b1b2a64d
								
							
						
					
					
						commit
						e1490018f9
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -69,6 +69,10 @@ const char *snd_pcm_get_format_name(int format); | |||
|  *  PCM Plug-In interface | ||||
|  */ | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
| 
 | ||||
| typedef struct snd_stru_pcm_plugin snd_pcm_plugin_t; | ||||
| #define snd_pcm_plugin_handle_t snd_pcm_t | ||||
| 
 | ||||
|  | @ -217,6 +221,10 @@ int snd_pcm_plugin_build_route(snd_pcm_plugin_handle_t *handle, | |||
| 			       float *ttable, | ||||
| 			       snd_pcm_plugin_t **r_plugin); | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
| 
 | ||||
| /*
 | ||||
|  *  Loopback interface | ||||
|  */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jaroslav Kysela
						Jaroslav Kysela