mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	pacat: Fix mode detection for parecord
Due to the missing "else", parecord was interpreted as parec, causing the raw flag to be set when it shouldn't have been set.
This commit is contained in:
		
							parent
							
								
									c0d1b1e75f
								
							
						
					
					
						commit
						a560cf3b67
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -783,7 +783,7 @@ int main(int argc, char *argv[]) {
 | 
				
			||||||
    } else if (strstr(bn, "cat")) {
 | 
					    } else if (strstr(bn, "cat")) {
 | 
				
			||||||
        mode = PLAYBACK;
 | 
					        mode = PLAYBACK;
 | 
				
			||||||
        raw = TRUE;
 | 
					        raw = TRUE;
 | 
				
			||||||
    } if (strstr(bn, "rec") || strstr(bn, "mon")) {
 | 
					    } else if (strstr(bn, "rec") || strstr(bn, "mon")) {
 | 
				
			||||||
        mode = RECORD;
 | 
					        mode = RECORD;
 | 
				
			||||||
        raw = TRUE;
 | 
					        raw = TRUE;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue