inpcom.c, add alternative noise flag 'noise=1'

This commit is contained in:
Holger Vogt 2018-12-01 11:43:21 +01:00
parent 9f40c2b584
commit 16978f8bf6
1 changed files with 2 additions and 2 deletions

View File

@ -4986,9 +4986,9 @@ inp_compat(struct card *card)
}
/* white noise model by x2line, x3line, x4line
if instance parameter noisy=1 is set */
if instance parameter noisy=1 (or noise=1) is set */
bool rnoise = FALSE;
if(strstr(cut_line, "noisy=1"))
if(strstr(cut_line, "noisy=1") || strstr(cut_line, "noise=1"))
rnoise = TRUE;
if ((tc1_ptr == NULL) && (tc2_ptr == NULL)) {