mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	topology: Add C API support for PCM
PCM objects can be added by C API. And this is used to create FE DAIs and DAI links in kernel. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									2286a6fd4d
								
							
						
					
					
						commit
						93b420b9e2
					
				
					 3 changed files with 103 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -311,6 +311,8 @@ int snd_tplg_add_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t)
 | 
			
		|||
		return tplg_add_widget_object(tplg, t);
 | 
			
		||||
	case SND_TPLG_TYPE_DAPM_GRAPH:
 | 
			
		||||
		return tplg_add_graph_object(tplg, t);
 | 
			
		||||
	case SND_TPLG_TYPE_PCM:
 | 
			
		||||
		return tplg_add_pcm_object(tplg, t);
 | 
			
		||||
	case SND_TPLG_TYPE_BE:
 | 
			
		||||
	case SND_TPLG_TYPE_CC:
 | 
			
		||||
		return tplg_add_link_object(tplg, t);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue