Codebase list squeezelite / 159325a
prevent use of -U and -V at same time Adrian Smith 9 years ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
9797 #endif
9898 # if ALSA
9999 " -L \t\t\tList volume controls for output device\n"
100 " -U <control>\t\tUnmute ALSA control and set to full volume\n"
100 " -U <control>\t\tUnmute ALSA control and set to full volume (not supported with -V)\n"
101101 " -V <control>\t\tUse ALSA control for volume adjustment, otherwise use software volume adjustment\n"
102102 #endif
103103 #if LINUX || FREEBSD
457457 case 'U':
458458 output_mixer_unmute = true;
459459 case 'V':
460 if (output_mixer) {
461 fprintf(stderr, "-U and -V option should not be used at same time\n");
462 exit(1);
463 }
460464 output_mixer = optarg;
461465 break;
462466 #endif