mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	topology: Refactor functions to parse and build streams
Previously these functions are only used by pcm elements (front-end DAI & DAI link) to parse stream capablities. Now refactor them to be reused by back-end DAI elements later. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									e64334df2b
								
							
						
					
					
						commit
						86ec8b4900
					
				
					 3 changed files with 36 additions and 28 deletions
				
			
		| 
						 | 
				
			
			@ -119,7 +119,7 @@ static int tplg_parse_config(snd_tplg_t *tplg, snd_config_t *cfg)
 | 
			
		|||
 | 
			
		||||
		if (strcmp(id, "SectionPCMCapabilities") == 0) {
 | 
			
		||||
			err = tplg_parse_compound(tplg, n,
 | 
			
		||||
				tplg_parse_pcm_caps, NULL);
 | 
			
		||||
				tplg_parse_stream_caps, NULL);
 | 
			
		||||
			if (err < 0)
 | 
			
		||||
				return err;
 | 
			
		||||
			continue;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue