mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	patcl: Error msg from pactl not quite accurate for 'mute' commands
<EP-E358F00C1D9A449EAE69225B9D2530F8> Updated the error string for mute commands in pactl. If someone forget to specify the parameter on the commandline the resulting error message isn't quite right. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=90117 Signed-off-by: Deepak Srivastava <srivastava.d@samsung.com>
This commit is contained in:
		
							parent
							
								
									1d4715c43f
								
							
						
					
					
						commit
						c37698ddf8
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1953,7 +1953,7 @@ int main(int argc, char *argv[]) {
 | 
			
		|||
            action = SET_SINK_MUTE;
 | 
			
		||||
 | 
			
		||||
            if (argc != optind+3) {
 | 
			
		||||
                pa_log(_("You have to specify a sink name/index and a mute boolean"));
 | 
			
		||||
                pa_log(_("You have to specify a sink name/index and a mute action (0, 1, or 'toggle')"));
 | 
			
		||||
                goto quit;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1968,7 +1968,7 @@ int main(int argc, char *argv[]) {
 | 
			
		|||
            action = SET_SOURCE_MUTE;
 | 
			
		||||
 | 
			
		||||
            if (argc != optind+3) {
 | 
			
		||||
                pa_log(_("You have to specify a source name/index and a mute boolean"));
 | 
			
		||||
                pa_log(_("You have to specify a source name/index and a mute action (0, 1, or 'toggle')"));
 | 
			
		||||
                goto quit;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1983,7 +1983,7 @@ int main(int argc, char *argv[]) {
 | 
			
		|||
            action = SET_SINK_INPUT_MUTE;
 | 
			
		||||
 | 
			
		||||
            if (argc != optind+3) {
 | 
			
		||||
                pa_log(_("You have to specify a sink input index and a mute boolean"));
 | 
			
		||||
                pa_log(_("You have to specify a sink input index and a mute action (0, 1, or 'toggle')"));
 | 
			
		||||
                goto quit;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -2001,7 +2001,7 @@ int main(int argc, char *argv[]) {
 | 
			
		|||
            action = SET_SOURCE_OUTPUT_MUTE;
 | 
			
		||||
 | 
			
		||||
            if (argc != optind+3) {
 | 
			
		||||
                pa_log(_("You have to specify a source output index and a mute boolean"));
 | 
			
		||||
                pa_log(_("You have to specify a source output index and a mute action (0, 1, or 'toggle')"));
 | 
			
		||||
                goto quit;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue