- if (!strcmp(option,"dsptones"))
- {
- if (!strcasecmp(param, "american"))
- options.dsptones = DSP_AMERICAN;
- else if (!strcasecmp(param, "german"))
- options.dsptones = DSP_GERMAN;
- else if (!strcasecmp(param, "oldgerman"))
- options.dsptones = DSP_OLDGERMAN;
- else if (!strcasecmp(param, "none"))
- options.dsptones = DSP_NONE;
- else {
- SPRINT(options_error, "Error in %s (line %d): parameter for option %s missing.\n",filename,line,option);
- goto error;
- }
-
+ if (!strcmp(option,"dsptones")) {
+ UPRINT(options_error, "Error in %s (line %d): parameter 'dsptones' is obsolete. Just define the tones (american,german,oldgerman) at 'tones_dir' option.\n",filename,line);
+ goto error;