Fix 32kHz sample rates

Fixed typos in check of sample rates.  Now 32k is handled correctly.

Signed-off-by: Markus Bollinger <bollinger@digigram.com>
This commit is contained in:
Markus Bollinger 2005-03-08 16:14:29 +00:00 committed by Takashi Iwai
parent 0cfa228fdd
commit 143676f7b6

View file

@ -187,7 +187,7 @@ static int update_iec958_status(snd_aes_iec958_t *iec958, int *parms)
case 48000:
iec958->status[0] |= IEC958_AES0_PRO_FS_48000;
break;
case 3200:
case 32000:
iec958->status[0] |= IEC958_AES0_PRO_FS_32000;
break;
}
@ -200,7 +200,7 @@ static int update_iec958_status(snd_aes_iec958_t *iec958, int *parms)
case 48000:
iec958->status[3] |= IEC958_AES3_CON_FS_48000;
break;
case 3200:
case 32000:
iec958->status[3] |= IEC958_AES3_CON_FS_32000;
break;
}