mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pw-cat: prefer AU format when using stdin/stdout
WAV is actually not usable for streaming output by sndfile. See #4629
This commit is contained in:
		
							parent
							
								
									367e756ebe
								
							
						
					
					
						commit
						dda60fb374
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1343,7 +1343,7 @@ static void format_from_filename(SF_INFO *info, const char *filename)
 | 
			
		|||
		}
 | 
			
		||||
	}
 | 
			
		||||
	if (format == -1)
 | 
			
		||||
		format = SF_FORMAT_WAV;
 | 
			
		||||
		format = spa_streq(filename, "-") ? SF_FORMAT_AU : SF_FORMAT_WAV;
 | 
			
		||||
	if (format == SF_FORMAT_WAV && info->channels > 2)
 | 
			
		||||
		format = SF_FORMAT_WAVEX;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue