mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fixed typo causing assertion failed on capture
This commit is contained in:
		
							parent
							
								
									8a50d1ed8f
								
							
						
					
					
						commit
						bc2703ebab
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -131,8 +131,8 @@ int snd_pcm_plug_alloc(snd_pcm_plug_t *plug, size_t frames)
 | 
			
		|||
	} else {
 | 
			
		||||
		snd_pcm_plugin_t *plugin = snd_pcm_plug_last(plug);
 | 
			
		||||
		while (plugin->prev) {
 | 
			
		||||
			if (plugin->dst_frames)
 | 
			
		||||
				frames = plugin->dst_frames(plugin, frames);
 | 
			
		||||
			if (plugin->src_frames)
 | 
			
		||||
				frames = plugin->src_frames(plugin, frames);
 | 
			
		||||
			assert(frames > 0);
 | 
			
		||||
			plugin = plugin->prev;
 | 
			
		||||
			err = snd_pcm_plugin_alloc(plugin, frames);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue